diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-06-10 06:14:25 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-06-10 06:14:25 +0200 |
commit | 425cdf946c9596cf81a3bf8b536c936f5a6b6509 (patch) | |
tree | 2ed93fc238cf95064e182f947a88e1d14545ab44 /src/core | |
parent | Merge pull request #2571 from lioncash/ref (diff) | |
download | yuzu-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')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic.cpp | 3 |
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(); } |