diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-03 20:11:04 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:36:08 +0200 |
commit | 7b44187fd277a87cf33891c1fdc023dae87abfbc (patch) | |
tree | a4d9323304df188fd44dbf757a65bf94df4a39bb /src/core/arm/dynarmic/arm_dynarmic_32.cpp | |
parent | General: Correct rebase, sync gpu and context management. (diff) | |
download | yuzu-7b44187fd277a87cf33891c1fdc023dae87abfbc.tar yuzu-7b44187fd277a87cf33891c1fdc023dae87abfbc.tar.gz yuzu-7b44187fd277a87cf33891c1fdc023dae87abfbc.tar.bz2 yuzu-7b44187fd277a87cf33891c1fdc023dae87abfbc.tar.lz yuzu-7b44187fd277a87cf33891c1fdc023dae87abfbc.tar.xz yuzu-7b44187fd277a87cf33891c1fdc023dae87abfbc.tar.zst yuzu-7b44187fd277a87cf33891c1fdc023dae87abfbc.zip |
Diffstat (limited to 'src/core/arm/dynarmic/arm_dynarmic_32.cpp')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_32.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp index c8adf2866..bd9c072d0 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp @@ -200,6 +200,9 @@ void ARM_Dynarmic_32::PrepareReschedule() { } void ARM_Dynarmic_32::ClearInstructionCache() { + if (!jit) { + return; + } jit->ClearCache(); } |