diff options
author | bunnei <bunneidev@gmail.com> | 2016-09-02 14:39:42 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-09-15 23:49:29 +0200 |
commit | b7aef81cb4f82eff002af86dc11e3ac497d34b87 (patch) | |
tree | 53cb6afe11d3568ebf87e7366af0f07b3a88379f /src | |
parent | qt: Add UI configuration option to enable CPU JIT. (diff) | |
download | yuzu-b7aef81cb4f82eff002af86dc11e3ac497d34b87.tar yuzu-b7aef81cb4f82eff002af86dc11e3ac497d34b87.tar.gz yuzu-b7aef81cb4f82eff002af86dc11e3ac497d34b87.tar.bz2 yuzu-b7aef81cb4f82eff002af86dc11e3ac497d34b87.tar.lz yuzu-b7aef81cb4f82eff002af86dc11e3ac497d34b87.tar.xz yuzu-b7aef81cb4f82eff002af86dc11e3ac497d34b87.tar.zst yuzu-b7aef81cb4f82eff002af86dc11e3ac497d34b87.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom.cpp b/src/core/arm/dyncom/arm_dyncom.cpp index ab77da965..976e81480 100644 --- a/src/core/arm/dyncom/arm_dyncom.cpp +++ b/src/core/arm/dyncom/arm_dyncom.cpp @@ -111,8 +111,8 @@ void ARM_DynCom::SaveContext(Core::ThreadContext& ctx) { ctx.pc = state->Reg[15]; ctx.cpsr = state->Cpsr; - ctx.fpscr = state->VFP[1]; - ctx.fpexc = state->VFP[2]; + ctx.fpscr = state->VFP[VFP_FPSCR]; + ctx.fpexc = state->VFP[VFP_FPEXC]; } void ARM_DynCom::LoadContext(const Core::ThreadContext& ctx) { @@ -124,8 +124,8 @@ void ARM_DynCom::LoadContext(const Core::ThreadContext& ctx) { state->Reg[15] = ctx.pc; state->Cpsr = ctx.cpsr; - state->VFP[1] = ctx.fpscr; - state->VFP[2] = ctx.fpexc; + state->VFP[VFP_FPSCR] = ctx.fpscr; + state->VFP[VFP_FPEXC] = ctx.fpexc; } void ARM_DynCom::PrepareReschedule() { |