mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -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:
@ -171,7 +171,6 @@ bool VideoBackend::Initialize(void *&window_handle)
|
||||
return false;
|
||||
}
|
||||
|
||||
OSD::AddMessage("Dolphin Direct3D11 Video Backend.", 5000);
|
||||
s_BackendInitialized = true;
|
||||
|
||||
return true;
|
||||
|
@ -156,7 +156,6 @@ bool VideoBackend::Initialize(void *&window_handle)
|
||||
return false;
|
||||
}
|
||||
|
||||
OSD::AddMessage("Dolphin Direct3D9 Video Backend.", 5000);
|
||||
s_BackendInitialized = true;
|
||||
|
||||
return true;
|
||||
|
@ -173,7 +173,6 @@ bool VideoBackend::Initialize(void *&window_handle)
|
||||
if (!OpenGL_Create(window_handle))
|
||||
return false;
|
||||
|
||||
OSD::AddMessage("Dolphin OpenGL Video Backend.", 5000);
|
||||
s_BackendInitialized = true;
|
||||
|
||||
return true;
|
||||
|
@ -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