mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Split Core_EnableStepping into Core_Break and Core_Resume
This commit is contained in:
1 parent
cbd19c967f
commit
d3e9398cb3
27 files changed
+108
-90
No files matched your search
@@ -64,7 +64,7 @@ static AutoDisabledReplacements LockMemoryAndCPU(uint32_t addr, bool keepReplace
|
||||
if (Core_IsStepping()) {
|
||||
result.wasStepping = true;
|
||||
} else {
|
||||
Core_EnableStepping(true, "memory.access", addr);
|
||||
Core_Break("memory.access", addr);
|
||||
Core_WaitInactive();
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ AutoDisabledReplacements::~AutoDisabledReplacements() {
|
||||
RestoreSavedReplacements(replacements);
|
||||
}
|
||||
if (!wasStepping)
|
||||
Core_EnableStepping(false);
|
||||
Core_Resume();
|
||||
delete lock;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user