From 190312e1a618a2895197b8c0f22ab82ee13d50bc Mon Sep 17 00:00:00 2001 From: Fiora Date: Fri, 2 Jan 2015 13:02:50 -0800 Subject: [PATCH] MMU: enable fastmem stores --- Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp index ca217ee63d..7cd9cc57d6 100644 --- a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp @@ -547,8 +547,7 @@ void EmuCodeBlock::SafeWriteRegToReg(OpArg reg_value, X64Reg reg_addr, int acces reg_value = FixImmediate(accessSize, reg_value); // TODO: support byte-swapped non-immediate fastmem stores - if (!jit->js.memcheck && - SConfig::GetInstance().m_LocalCoreStartupParameter.bFastmem && + if (SConfig::GetInstance().m_LocalCoreStartupParameter.bFastmem && !(flags & SAFE_LOADSTORE_NO_FASTMEM) && (reg_value.IsImm() || !(flags & SAFE_LOADSTORE_NO_SWAP)) #ifdef ENABLE_MEM_CHECK