Use the portable SLEEP() macro in place of Sleep().
r5998 fixes the Center() problem in plugins on OS X. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6001 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
bae8c6ed9c
commit
72494a0363
|
@ -236,7 +236,7 @@ void SaveStateCallback(u64 userdata, int cyclesLate)
|
|||
PowerPC::Pause();
|
||||
|
||||
// Wait for the other threaded sub-systems to stop too
|
||||
Sleep(100);
|
||||
SLEEP(100);
|
||||
|
||||
State_Flush();
|
||||
|
||||
|
@ -272,7 +272,7 @@ void LoadStateCallback(u64 userdata, int cyclesLate)
|
|||
PowerPC::Pause();
|
||||
|
||||
// Wait for the other threaded sub-systems to stop too
|
||||
Sleep(100);
|
||||
SLEEP(100);
|
||||
|
||||
State_Flush();
|
||||
|
||||
|
|
|
@ -529,9 +529,7 @@ void GFXConfigDialogOGL::CreateGUIControls()
|
|||
InitializeGUITooltips();
|
||||
|
||||
Fit();
|
||||
#ifndef __APPLE__
|
||||
Center(); //it seems to cause problems on macs with small screens
|
||||
#endif
|
||||
Center();
|
||||
UpdateGUI();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue