mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-21 05:08:39 -05:00
5e74a8b850
Some code paths in EmuCodeBlock.cpp that were checking fastmem_arena should really also be checking m_enable_dcache. Because JitArm64 centralizes more or less all memory access to the EmitBackpatchRoutine function and because that function already contained a check, JitArm64 works fine without the additional checks added by this commit. Regardless, I added the checks to MMU.cpp instead of EmuCodeBlock.cpp where applicable so they would be available to JitArm64. Maybe one day JitArm64 will need them if its code gets restructured.