mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
arm_dynarmic: Halt when BRK encountered
This commit is contained in:
parent
3b4a158230
commit
ef31487624
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user