diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-01-09 08:28:45 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-01-09 08:28:45 +0100 |
| commit | 45f74840d6a32f278fedbe0381e7db1127669ce5 (patch) | |
| tree | f8fcd960feb75e7b0d1f21362f807c52c99fd523 /Source/Core | |
| parent | 48470a20cac0a981b2ddb92483141047437d6211 (diff) | |
Do not fastmem addresses that were constant propagated
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp index 5c4a712024..49a83e1831 100644 --- a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp @@ -126,6 +126,7 @@ void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress, #if defined(_M_X64) if (!Core::g_CoreStartupParameter.bMMU && Core::g_CoreStartupParameter.bFastmem && + !opAddress.IsImm() && !(flags & (SAFE_LOADSTORE_NO_SWAP | SAFE_LOADSTORE_NO_FASTMEM)) #ifdef ENABLE_MEM_CHECK && !Core::g_CoreStartupParameter.bEnableDebugging |
