diff options
| author | nakeee <nakeee@gmail.com> | 2008-11-20 10:14:56 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2008-11-20 10:14:56 +0000 |
| commit | ba7f7cd8b7074860a3010ebf7615a94ecfa529bc (patch) | |
| tree | 02abbdbe51c98ad8107c38ef5b930c5c623ad355 /Source | |
| parent | 5fb23f879e40d4967e4044e463f839600a306cbb (diff) | |
delete the thread o stop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1223 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/Src/Core.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp index 131beba498..aff3575444 100644 --- a/Source/Core/Core/Src/Core.cpp +++ b/Source/Core/Core/Src/Core.cpp @@ -176,10 +176,11 @@ void Stop() // - Hammertime! Host_SetWaitCursor(true);
if (PowerPC::state == PowerPC::CPU_POWERDOWN)
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
// Should be moved inside the plugin.
@@ -189,7 +190,7 @@ void Stop() // - Hammertime! PluginVideo::Video_Stop();
#endif
- //delete g_pThread; //Wait for emuthread to close
+ delete g_pThread; //Wait for emuthread to close
g_pThread = 0;
Core::StopTrace();
LogManager::Shutdown();
|
