yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Merge pull request #438 from lioncash/swp

dyncom: Fix SWPB
This commit is contained in:
bunnei 2015-01-07 09:53:29 -05:00
commit 317fe1e528
1 changed files with 1 additions and 0 deletions

View File

@ -6322,6 +6322,7 @@ unsigned InterpreterMainLoop(ARMul_State* state) {
addr = RN; addr = RN;
unsigned int value = Memory::Read8(addr); unsigned int value = Memory::Read8(addr);
Memory::Write8(addr, (RM & 0xFF)); Memory::Write8(addr, (RM & 0xFF));
RD = value;
} }
cpu->Reg[15] += GET_INST_SIZE(cpu); cpu->Reg[15] += GET_INST_SIZE(cpu);
INC_PC(sizeof(swp_inst)); INC_PC(sizeof(swp_inst));