mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix eap->hoikas self-patch
This commit is contained in:
@ -83,7 +83,10 @@ static bool IsPatcherRunning()
|
||||
static void WaitForOldPatcher()
|
||||
{
|
||||
HANDLE mut = CreatePatcherMutex();
|
||||
WaitForSingleObject(mut, INFINITE);
|
||||
DWORD wait = WaitForSingleObject(mut, 0);
|
||||
while (wait != WAIT_OBJECT_0) // :( :( :(
|
||||
wait = WaitForSingleObject(mut, 100);
|
||||
Sleep(1000); // :(
|
||||
}
|
||||
|
||||
// ===================================================
|
||||
|
Reference in New Issue
Block a user