summaryrefslogtreecommitdiffstats
path: root/src/core/arm
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-06-10 06:14:25 +0200
committerZach Hilman <zachhilman@gmail.com>2019-06-10 06:14:25 +0200
commit425cdf946c9596cf81a3bf8b536c936f5a6b6509 (patch)
tree2ed93fc238cf95064e182f947a88e1d14545ab44 /src/core/arm
parentMerge pull request #2571 from lioncash/ref (diff)
downloadyuzu-425cdf946c9596cf81a3bf8b536c936f5a6b6509.tar
yuzu-425cdf946c9596cf81a3bf8b536c936f5a6b6509.tar.gz
yuzu-425cdf946c9596cf81a3bf8b536c936f5a6b6509.tar.bz2
yuzu-425cdf946c9596cf81a3bf8b536c936f5a6b6509.tar.lz
yuzu-425cdf946c9596cf81a3bf8b536c936f5a6b6509.tar.xz
yuzu-425cdf946c9596cf81a3bf8b536c936f5a6b6509.tar.zst
yuzu-425cdf946c9596cf81a3bf8b536c936f5a6b6509.zip
Diffstat (limited to 'src/core/arm')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp
index 44307fa19..e6f6822d2 100644
--- a/src/core/arm/dynarmic/arm_dynarmic.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic.cpp
@@ -257,6 +257,9 @@ void ARM_Dynarmic::LoadContext(const ThreadContext& ctx) {
}
void ARM_Dynarmic::PrepareReschedule() {
+ if (jit == nullptr)
+ return;
+
jit->HaltExecution();
}