mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 20:22:58 +00:00
dyncom: Fix SWPB
This commit is contained in:
parent
5217e3f873
commit
75c211c10f
|
@ -6267,6 +6267,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));
|
||||||
|
|
Loading…
Reference in a new issue