mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Fix a possible race on shutdown.
This commit is contained in:
1 parent
b0072cd38b
commit
90c49befd4
2 files changed
+14
-9
No files matched your search
@@ -126,7 +126,7 @@ unsigned int MIPSDebugInterface::readMemory(unsigned int address)
|
||||
|
||||
bool MIPSDebugInterface::isAlive()
|
||||
{
|
||||
return PSP_IsInited();
|
||||
return PSP_IsInited() && coreState != CORE_ERROR && coreState != CORE_POWERDOWN;
|
||||
}
|
||||
|
||||
bool MIPSDebugInterface::isBreakpoint(unsigned int address)
|
||||
|
||||
Reference in new issue
Block a user