Skip to content

Commit

Permalink
Update dllmain.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
illusion0001 authored Jul 2, 2024
1 parent 5702b5e commit 070ec63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Crysis3Remastered.Patches/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void ReadConfig(void)
{
// no ini, lets generate one.
std::wstring ini_defaults = L"[Settings]\n"
wstr(bBenchmarkingOnly)" false\n"
wstr(bBenchmarkingOnly)" = false\n"
wstr(bVerboseConsoleOutput)" = false\n"
"; Benchmark types:\n"
"; 1 = CPU Benchmark\n"
Expand Down Expand Up @@ -162,7 +162,7 @@ BOOL APIENTRY DllMain(HMODULE hModule,
{
case DLL_PROCESS_ATTACH:
{
CreateThread(NULL, 0, Main, 0, NULL, 0);
Main(NULL);
}
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
Expand Down

0 comments on commit 070ec63

Please sign in to comment.