Wait for the runloop to end in savestates/debug.

This way, even if the runloop hasn't checked coreState yet, we will wait.
This commit is contained in:
Unknown W. Brackets committed 2013-02-23 13:21:28 -08:00
1 parent 2164a7fdf9
commit 7c3c06fd23
5 files changed
+15 -34

No files matched your search

+2 -2
View File
@@ -133,14 +133,14 @@ void CBreakPoints::AddBreakPoint(u32 _iAddress, bool temp)
void CBreakPoints::InvalidateJit(u32 _iAddress)
{
// Don't want to clear cache while running, I think?
if (MIPSComp::jit && Core_IsStepping())
if (MIPSComp::jit && Core_IsInactive())
MIPSComp::jit->ClearCacheAt(_iAddress);
}
void CBreakPoints::InvalidateJit()
{
// Don't want to clear cache while running, I think?
if (MIPSComp::jit && Core_IsStepping())
if (MIPSComp::jit && Core_IsInactive())
MIPSComp::jit->ClearCache();
}