2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

arm_dynarmic: Halt when BRK encountered

This commit is contained in:
MerryMage 2018-09-20 19:12:42 +01:00
parent 3b4a158230
commit ef31487624

View file

@ -82,6 +82,7 @@ public:
return; return;
case Dynarmic::A64::Exception::Breakpoint: case Dynarmic::A64::Exception::Breakpoint:
if (GDBStub::IsServerEnabled()) { if (GDBStub::IsServerEnabled()) {
parent.jit->HaltExecution();
parent.SetPC(pc); parent.SetPC(pc);
Kernel::Thread* thread = Kernel::GetCurrentThread(); Kernel::Thread* thread = Kernel::GetCurrentThread();
parent.SaveContext(thread->context); parent.SaveContext(thread->context);