mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
JitArm64: Fix updating MEM_REG with imm MSR without fastmem
Dolphin would crash when running with a fastmem arena but without fastmem. This regression was caused by merging9192128c50
without adapting it after the merge of0606433404
.
This commit is contained in:
parent
c54e8d733f
commit
253afee315
1 changed files with 2 additions and 2 deletions
|
@ -353,8 +353,8 @@ void JitArm64::EmitStoreMembase(u32 msr)
|
|||
auto& memory = m_system.GetMemory();
|
||||
MOVP2R(MEM_REG,
|
||||
UReg_MSR(msr).DR ?
|
||||
(jo.fastmem_arena ? memory.GetLogicalBase() : memory.GetLogicalPageMappingsBase()) :
|
||||
(jo.fastmem_arena ? memory.GetPhysicalBase() : memory.GetPhysicalPageMappingsBase()));
|
||||
(jo.fastmem ? memory.GetLogicalBase() : memory.GetLogicalPageMappingsBase()) :
|
||||
(jo.fastmem ? memory.GetPhysicalBase() : memory.GetPhysicalPageMappingsBase()));
|
||||
STR(IndexType::Unsigned, MEM_REG, PPC_REG, PPCSTATE_OFF(mem_ptr));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue