Remove redundant code. Add "break after syscall" button, fix up

This commit is contained in:
Henrik Rydgård committed 2024-12-10 22:43:31 +01:00
1 parent 27122a9e64
commit 5817f60346
3 files changed
+15 -11

No files matched your search

-5
View File
@@ -405,8 +405,6 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam) {
} else { // go
lastTicks_ = CoreTiming::GetTicks();
// If the current PC is on a breakpoint, the user doesn't want to do nothing.
breakpoints_->SetSkipFirst(currentMIPS->pc);
Core_Resume();
}
}
@@ -430,9 +428,6 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam) {
break;
lastTicks_ = CoreTiming::GetTicks();
// If the current PC is on a breakpoint, the user doesn't want to do nothing.
breakpoints_->SetSkipFirst(currentMIPS->pc);
hleDebugBreak();
Core_Resume();
}