Debugger: Don't break during startup.

This commit is contained in:
Unknown W. Brackets 2020-05-23 10:26:27 -07:00
parent 0ff922c3e0
commit efee79fd71

View file

@ -65,7 +65,7 @@ BreakAction MemCheck::Action(u32 addr, bool write, int size, u32 pc) {
int mask = write ? MEMCHECK_WRITE : MEMCHECK_READ;
if (cond & mask) {
Log(addr, write, size, pc);
if (result & BREAK_ACTION_PAUSE) {
if ((result & BREAK_ACTION_PAUSE) && coreState != CORE_POWERUP) {
Core_EnableStepping(true);
host->SetDebugMode(true);
}
@ -364,7 +364,7 @@ BreakAction CBreakPoints::ExecBreakPoint(u32 addr) {
NOTICE_LOG(JIT, "BKP PC=%08x: %s", addr, formatted.c_str());
}
}
if (info.result & BREAK_ACTION_PAUSE) {
if ((info.result & BREAK_ACTION_PAUSE) && coreState != CORE_POWERUP) {
Core_EnableStepping(true);
host->SetDebugMode(true);
}