mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
delete the thread o stop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1223 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -176,10 +176,11 @@ void Stop() // - Hammertime!
|
|||||||
Host_SetWaitCursor(true);
|
Host_SetWaitCursor(true);
|
||||||
if (PowerPC::state == PowerPC::CPU_POWERDOWN)
|
if (PowerPC::state == PowerPC::CPU_POWERDOWN)
|
||||||
return;
|
return;
|
||||||
// stop the CPU
|
|
||||||
PowerPC::state = PowerPC::CPU_POWERDOWN;
|
|
||||||
|
|
||||||
CCPU::StepOpcode(); //kick it if it's waiting
|
// stop the CPU
|
||||||
|
PowerPC::state = PowerPC::CPU_POWERDOWN;
|
||||||
|
|
||||||
|
CCPU::StepOpcode(); //kick it if it's waiting
|
||||||
|
|
||||||
// The quit is to get it out of its message loop
|
// The quit is to get it out of its message loop
|
||||||
// Should be moved inside the plugin.
|
// Should be moved inside the plugin.
|
||||||
@ -189,7 +190,7 @@ void Stop() // - Hammertime!
|
|||||||
PluginVideo::Video_Stop();
|
PluginVideo::Video_Stop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//delete g_pThread; //Wait for emuthread to close
|
delete g_pThread; //Wait for emuthread to close
|
||||||
g_pThread = 0;
|
g_pThread = 0;
|
||||||
Core::StopTrace();
|
Core::StopTrace();
|
||||||
LogManager::Shutdown();
|
LogManager::Shutdown();
|
||||||
|
Reference in New Issue
Block a user