summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2022-04-13 23:21:11 +0200
committerGitHub <noreply@github.com>2022-04-13 23:21:11 +0200
commit072b3e6e26fc8b9834a7fd0ed2d263b06cd42a74 (patch)
tree4720f22a1c72598cf5a955f67c4f7f93e19d7432 /src
parentMerge pull request #8199 from liamwhite/jit-service (diff)
parentdynarmic: Fix single core mode (diff)
downloadyuzu-072b3e6e26fc8b9834a7fd0ed2d263b06cd42a74.tar
yuzu-072b3e6e26fc8b9834a7fd0ed2d263b06cd42a74.tar.gz
yuzu-072b3e6e26fc8b9834a7fd0ed2d263b06cd42a74.tar.bz2
yuzu-072b3e6e26fc8b9834a7fd0ed2d263b06cd42a74.tar.lz
yuzu-072b3e6e26fc8b9834a7fd0ed2d263b06cd42a74.tar.xz
yuzu-072b3e6e26fc8b9834a7fd0ed2d263b06cd42a74.tar.zst
yuzu-072b3e6e26fc8b9834a7fd0ed2d263b06cd42a74.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_32.cpp2
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_64.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
index ab3210d84..6f3d53dad 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
@@ -232,7 +232,7 @@ void ARM_Dynarmic_32::Run() {
if (Has(hr, svc_call)) {
Kernel::Svc::Call(system, svc_swi);
}
- if (Has(hr, break_loop)) {
+ if (Has(hr, break_loop) || !uses_wall_clock) {
break;
}
}
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
index 68822a1fc..1fcb2b891 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
@@ -293,7 +293,7 @@ void ARM_Dynarmic_64::Run() {
if (Has(hr, svc_call)) {
Kernel::Svc::Call(system, svc_swi);
}
- if (Has(hr, break_loop)) {
+ if (Has(hr, break_loop) || !uses_wall_clock) {
break;
}
}