Linux compile fix,

added SLEEP to common, please use this macro if really don't want to use the sleep in thread


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2390 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-02-23 09:54:12 +00:00
parent 4beff606d7
commit d43c22b8dc
2 changed files with 8 additions and 1 deletions

View File

@ -531,7 +531,7 @@ void CFrame::DoStop()
*/
#ifndef SETUP_TIMER_WAITING
if (bRenderToMain)
while(Core::GetState() != Core::CORE_UNINITIALIZED) Sleep(10);
while(Core::GetState() != Core::CORE_UNINITIALIZED) SLEEP(10);
#endif
UpdateGUI();