mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 08:20:30 +02:00
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:
1 parent
2164a7fdf9
commit
7c3c06fd23
5 files changed
+15
-34
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user