mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-28 22:30:05 +00:00
Dyncom: Correct STREXD behaviour when CPSR.E == 1
This commit is contained in:
parent
3c3a6cb2af
commit
f933328f3d
@ -1884,9 +1884,14 @@ unsigned InterpreterMainLoop(ARMul_State* cpu) {
|
||||
|
||||
cpu->SetExclusiveMemoryAddress(read_addr);
|
||||
|
||||
if (cpu->InBigEndianMode()) {
|
||||
RD = cpu->ReadMemory32(read_addr + 4);
|
||||
RD2 = cpu->ReadMemory32(read_addr);
|
||||
} else {
|
||||
RD = cpu->ReadMemory32(read_addr);
|
||||
RD2 = cpu->ReadMemory32(read_addr + 4);
|
||||
}
|
||||
}
|
||||
cpu->Reg[15] += cpu->GetInstructionSize();
|
||||
INC_PC(sizeof(generic_arm_inst));
|
||||
FETCH_INST;
|
||||
|
Loading…
Reference in New Issue
Block a user