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:
Jordan Woyak
2011-03-17 10:17:45 +00:00
parent e4141c331e
commit 78d9f927e1
14 changed files with 264 additions and 392 deletions

View File

@ -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()