summaryrefslogtreecommitdiffstats
path: root/src/core/arm/unicorn
diff options
context:
space:
mode:
authorHedges <hedges@resync.pl>2018-08-07 04:01:24 +0200
committerbunnei <bunneidev@gmail.com>2018-08-07 04:01:24 +0200
commite2b74f635410891b4ab9c202ecdd83dfe05df239 (patch)
tree90cf31b4b0f60d86709bfec1a3c021056bd0a269 /src/core/arm/unicorn
parentMerge pull request #943 from lioncash/decl (diff)
downloadyuzu-e2b74f635410891b4ab9c202ecdd83dfe05df239.tar
yuzu-e2b74f635410891b4ab9c202ecdd83dfe05df239.tar.gz
yuzu-e2b74f635410891b4ab9c202ecdd83dfe05df239.tar.bz2
yuzu-e2b74f635410891b4ab9c202ecdd83dfe05df239.tar.lz
yuzu-e2b74f635410891b4ab9c202ecdd83dfe05df239.tar.xz
yuzu-e2b74f635410891b4ab9c202ecdd83dfe05df239.tar.zst
yuzu-e2b74f635410891b4ab9c202ecdd83dfe05df239.zip
Diffstat (limited to 'src/core/arm/unicorn')
-rw-r--r--src/core/arm/unicorn/arm_unicorn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp
index 4c11f35a4..6bc349460 100644
--- a/src/core/arm/unicorn/arm_unicorn.cpp
+++ b/src/core/arm/unicorn/arm_unicorn.cpp
@@ -203,7 +203,7 @@ void ARM_Unicorn::ExecuteInstructions(int num_instructions) {
}
Kernel::Thread* thread = Kernel::GetCurrentThread();
SaveContext(thread->context);
- if (last_bkpt_hit || (num_instructions == 1)) {
+ if (last_bkpt_hit || GDBStub::GetCpuStepFlag()) {
last_bkpt_hit = false;
GDBStub::Break();
GDBStub::SendTrap(thread, 5);