mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Fix eap->hoikas self-patch
This commit is contained in:
@ -83,7 +83,10 @@ static bool IsPatcherRunning()
|
|||||||
static void WaitForOldPatcher()
|
static void WaitForOldPatcher()
|
||||||
{
|
{
|
||||||
HANDLE mut = CreatePatcherMutex();
|
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