summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-09-02 14:39:42 +0200
committerbunnei <bunneidev@gmail.com>2016-09-15 23:49:29 +0200
commitb7aef81cb4f82eff002af86dc11e3ac497d34b87 (patch)
tree53cb6afe11d3568ebf87e7366af0f07b3a88379f /src
parentqt: Add UI configuration option to enable CPU JIT. (diff)
downloadyuzu-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 'src')
-rw-r--r--src/core/arm/dyncom/arm_dyncom.cpp8
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() {