diff options
author | Hedges <hedges@resync.pl> | 2018-07-13 05:22:59 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-07-13 05:22:59 +0200 |
commit | e066bc75b9443ffe39adc44a113eca8e899c6e80 (patch) | |
tree | 78bd4a46cfa69c678ae7518260b0a91cc4227adf /src/core/arm/unicorn/arm_unicorn.cpp | |
parent | Merge pull request #656 from ogniK5377/audren-mem-init (diff) | |
download | yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.gz yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.bz2 yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.lz yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.xz yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.zst yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.zip |
Diffstat (limited to 'src/core/arm/unicorn/arm_unicorn.cpp')
-rw-r--r-- | src/core/arm/unicorn/arm_unicorn.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp index ce6c5616d..f239cf0ea 100644 --- a/src/core/arm/unicorn/arm_unicorn.cpp +++ b/src/core/arm/unicorn/arm_unicorn.cpp @@ -193,11 +193,11 @@ void ARM_Unicorn::ExecuteInstructions(int num_instructions) { } Kernel::Thread* thread = Kernel::GetCurrentThread(); SaveContext(thread->context); - if (last_bkpt_hit) { + if (last_bkpt_hit || (num_instructions == 1)) { last_bkpt_hit = false; GDBStub::Break(); + GDBStub::SendTrap(thread, 5); } - GDBStub::SendTrap(thread, 5); } } |