BugFix: Now all functions with a IDirect3DSurface9 object passed object check for a uMod_IDirect3DSurface9 object before they call the original function.

other changes: %lu to %p for pointers
This commit is contained in:
code@koerner-de.net
2012-08-23 18:41:21 +00:00
parent 24769aad67
commit 2593729634
16 changed files with 181 additions and 32 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ void InitInstance(HINSTANCE hModule)
if (HookThisProgram( game, 10*MAX_PATH)) //ask if we need to hook this program
{
OpenMessage();
Message("InitInstance: %lu (%ls)\n", hModule, game);
Message("InitInstance: %p (%ls)\n", hModule, game);
gl_TextureServer = new uMod_TextureServer(game); //create the server which listen on the pipe and prepare the update for the texture clients