yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

arm_dynarmic: Halt when BRK encountered

This commit is contained in:
MerryMage 2018-09-20 19:12:42 +01:00
parent 3b4a158230
commit ef31487624
1 changed files with 1 additions and 0 deletions

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);