mirror of https://github.com/PCSX2/pcsx2.git
Debugger: Clear breakpoint skips when resetting
This commit is contained in:
parent
3333553b24
commit
9a6e5458c9
|
@ -377,6 +377,14 @@ u32 CBreakPoints::CheckSkipFirst(BreakPointCpu cpu, u32 cmpPc)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void CBreakPoints::ClearSkipFirst()
|
||||
{
|
||||
breakSkipFirstAtEE_ = 0;
|
||||
breakSkipFirstTicksEE_ = 0;
|
||||
breakSkipFirstAtIop_ = 0;
|
||||
breakSkipFirstTicksIop_ = 0;
|
||||
}
|
||||
|
||||
const std::vector<MemCheck> CBreakPoints::GetMemCheckRanges()
|
||||
{
|
||||
std::vector<MemCheck> ranges = memChecks_;
|
||||
|
|
|
@ -138,6 +138,7 @@ public:
|
|||
|
||||
static void SetSkipFirst(BreakPointCpu cpu, u32 pc);
|
||||
static u32 CheckSkipFirst(BreakPointCpu cpu, u32 pc);
|
||||
static void ClearSkipFirst();
|
||||
|
||||
// Includes uncached addresses.
|
||||
static const std::vector<MemCheck> GetMemCheckRanges();
|
||||
|
|
|
@ -96,6 +96,8 @@ void cpuReset()
|
|||
g_eeloadMain = 0;
|
||||
g_eeloadExec = 0;
|
||||
g_osdsys_str = 0;
|
||||
|
||||
CBreakPoints::ClearSkipFirst();
|
||||
}
|
||||
|
||||
__ri void cpuException(u32 code, u32 bd)
|
||||
|
|
Loading…
Reference in New Issue