diff options
author | bunnei <bunneidev@gmail.com> | 2021-01-25 07:51:12 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-01-29 06:42:26 +0100 |
commit | 055194d2ab69ca68687eb2ec49d1f98d78937a2c (patch) | |
tree | 411e5a046350db3a8b78748a715543662b7db946 /src/core/arm/dynarmic/arm_dynarmic_32.cpp | |
parent | common: common_funcs: Log error on R_UNLESS. (diff) | |
download | yuzu-055194d2ab69ca68687eb2ec49d1f98d78937a2c.tar yuzu-055194d2ab69ca68687eb2ec49d1f98d78937a2c.tar.gz yuzu-055194d2ab69ca68687eb2ec49d1f98d78937a2c.tar.bz2 yuzu-055194d2ab69ca68687eb2ec49d1f98d78937a2c.tar.lz yuzu-055194d2ab69ca68687eb2ec49d1f98d78937a2c.tar.xz yuzu-055194d2ab69ca68687eb2ec49d1f98d78937a2c.tar.zst yuzu-055194d2ab69ca68687eb2ec49d1f98d78937a2c.zip |
Diffstat (limited to 'src/core/arm/dynarmic/arm_dynarmic_32.cpp')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_32.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp index 7d7e191ea..6c4c8e9e4 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp @@ -251,16 +251,10 @@ void ARM_Dynarmic_32::SetTPIDR_EL0(u64 value) { } void ARM_Dynarmic_32::ChangeProcessorID(std::size_t new_core_id) { - if (!jit) { - return; - } jit->ChangeProcessorID(new_core_id); } void ARM_Dynarmic_32::SaveContext(ThreadContext32& ctx) { - if (!jit) { - return; - } Dynarmic::A32::Context context; jit->SaveContext(context); ctx.cpu_registers = context.Regs(); @@ -270,9 +264,6 @@ void ARM_Dynarmic_32::SaveContext(ThreadContext32& ctx) { } void ARM_Dynarmic_32::LoadContext(const ThreadContext32& ctx) { - if (!jit) { - return; - } Dynarmic::A32::Context context; context.Regs() = ctx.cpu_registers; context.ExtRegs() = ctx.extension_registers; @@ -282,9 +273,6 @@ void ARM_Dynarmic_32::LoadContext(const ThreadContext32& ctx) { } void ARM_Dynarmic_32::PrepareReschedule() { - if (!jit) { - return; - } jit->HaltExecution(); } |