diff options
author | bunnei <bunneidev@gmail.com> | 2014-11-09 23:00:59 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-11-12 01:54:18 +0100 |
commit | b8e6f52419816a7afa6629c401c23faf8ae8ae67 (patch) | |
tree | 6caa9a609493f968b2a9f744f78b9aba8b887f6e /src/core/arm/dyncom/arm_dyncom.cpp | |
parent | Core: Changed RunLoop iterations to 1000 (slightly better performance). (diff) | |
download | yuzu-b8e6f52419816a7afa6629c401c23faf8ae8ae67.tar yuzu-b8e6f52419816a7afa6629c401c23faf8ae8ae67.tar.gz yuzu-b8e6f52419816a7afa6629c401c23faf8ae8ae67.tar.bz2 yuzu-b8e6f52419816a7afa6629c401c23faf8ae8ae67.tar.lz yuzu-b8e6f52419816a7afa6629c401c23faf8ae8ae67.tar.xz yuzu-b8e6f52419816a7afa6629c401c23faf8ae8ae67.tar.zst yuzu-b8e6f52419816a7afa6629c401c23faf8ae8ae67.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom.cpp b/src/core/arm/dyncom/arm_dyncom.cpp index 0b5dcccb9..a3ed3e31e 100644 --- a/src/core/arm/dyncom/arm_dyncom.cpp +++ b/src/core/arm/dyncom/arm_dyncom.cpp @@ -60,7 +60,7 @@ void ARM_DynCom::SetPC(u32 pc) { * @return Returns current PC */ u32 ARM_DynCom::GetPC() const { - return state->pc; + return state->Reg[15]; } /** @@ -129,7 +129,7 @@ void ARM_DynCom::SaveContext(ThreadContext& ctx) { ctx.sp = state->Reg[13]; ctx.lr = state->Reg[14]; - ctx.pc = state->pc; + ctx.pc = state->Reg[15]; ctx.cpsr = state->Cpsr; ctx.fpscr = state->VFP[1]; |