Permalink
Browse files

Disable console

  • Loading branch information...
codenulls committed Dec 16, 2018
1 parent 3b9f57f commit 24111f6f0296ba4f6bebaf9d1bc72b97e78c4b5f
Showing with 0 additions and 7 deletions.
  1. +0 −7 Client/core/Core.cpp
@@ -30,13 +30,6 @@ int WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, PVOID pvNothing)
WriteDebugEvent(SString("DLL_PROCESS_ATTACH %08x", pvNothing));
if (IsGTAProcess())
{
if (AllocConsole())
{
freopen("CONIN$", "r", stdin);
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
}

WriteDebugEvent(SString("ModuleFileName: %s", *GetLaunchPathFilename()));

AddUtf8FileHooks();

0 comments on commit 24111f6

Please sign in to comment.