Browse Source

Fix eap->hoikas self-patch

Adam Johnson 11 years ago
parent
commit
52427c2032
  1. 5
      Sources/Plasma/Apps/plUruLauncher/winmain.cpp

5
Sources/Plasma/Apps/plUruLauncher/winmain.cpp

@ -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); // :(
} }
// =================================================== // ===================================================

Loading…
Cancel
Save