mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
fix: continue main thread on C++ side again, circumvents a race condition - we should fix this for good!
This commit is contained in:
parent
f8243e2c3c
commit
7d49ebfc3c
2 changed files with 5 additions and 4 deletions
|
|
@ -393,10 +393,10 @@ DllExport void WINAPI RewrittenEntryPoint(RewrittenEntryPointParameters& params)
|
|||
loadInfo = params.pLoadInfo;
|
||||
|
||||
// Let the game initialize.
|
||||
//SetEvent(params.hMainThreadContinue);
|
||||
SetEvent(params.hMainThreadContinue);
|
||||
}
|
||||
|
||||
//wait_for_game_window();
|
||||
wait_for_game_window();
|
||||
|
||||
Initialize(&loadInfo[0], params.hMainThreadContinue);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue