Do not fastmem addresses that were constant propagated

This commit is contained in:
Pierre Bourdon 2014-01-09 08:28:45 +01:00
parent 48470a20ca
commit 45f74840d6
1 changed files with 1 additions and 0 deletions

View File

@ -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