Debugger: Don't skip undefined instructions when debugger attached

This commit is contained in:
Vicki Pfau 2020-02-10 18:06:06 -08:00
parent f5f1cbf037
commit 75e67aee17
2 changed files with 3 additions and 4 deletions

View File

@ -21,6 +21,7 @@ Other fixes:
- Core: Fix race condition initializing thread proxy
- Core: Ensure ELF regions can be written before trying
- Core: Fix integer overflow in ELF loading
- Debugger: Don't skip undefined instructions when debugger attached
- FFmpeg: Fix crash when -strict -2 is needed for vcodec or container
- FFmpeg: Disallow recording video with no audio nor video
- Qt: Only dynamically reset video scale if a game is running

View File

@ -742,11 +742,9 @@ void GBAIllegal(struct ARMCore* cpu, uint32_t opcode) {
.type.bp.opcode = opcode
};
mDebuggerEnter(gba->debugger->d.p, DEBUGGER_ENTER_ILLEGAL_OP, &info);
} else
#endif
{
ARMRaiseUndefined(cpu);
}
#endif
ARMRaiseUndefined(cpu);
}
void GBABreakpoint(struct ARMCore* cpu, int immediate) {