Fixes to gMod_XorStream when calculating stream length

This commit is contained in:
2023-11-16 17:43:38 +01:00
parent 75a5427287
commit a426df194a
4 changed files with 26 additions and 8 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ void InitInstance(HINSTANCE hModule)
std::array<char, MAX_PATH> uMod{};
GetModuleFileNameA(hModule, uMod.data(), MAX_PATH);
Message("InitInstance: %s\n", uMod);
Message("InitInstance: %s\n", uMod.data());
gl_TextureServer = std::make_unique<uMod_TextureServer>(game, uMod.data()); //create the server which listen on the pipe and prepare the update for the texture clients
LoadOriginalDll();
if (gl_hOriginalDll) {