mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Eliminated memory leaks of the save state code and put it in a namespace. It is prettier than before, but it could be better (less global usage). Other minor stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7366 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -178,17 +178,12 @@ void VideoSoftware::Video_EnterLoop()
|
||||
Common::YieldCPU();
|
||||
}
|
||||
|
||||
if (!emuRunningState)
|
||||
while (!emuRunningState && fifoStateRun)
|
||||
{
|
||||
while (!emuRunningState && fifoStateRun)
|
||||
{
|
||||
g_video_backend->PeekMessages();
|
||||
Common::SleepCurrentThread(1);
|
||||
}
|
||||
g_video_backend->PeekMessages();
|
||||
Common::SleepCurrentThread(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void VideoSoftware::Video_ExitLoop()
|
||||
|
Reference in New Issue
Block a user