MMU: enable fastmem stores

This commit is contained in:
Fiora 2015-01-02 13:02:50 -08:00
parent 8e1c92f2e7
commit 190312e1a6
1 changed files with 1 additions and 2 deletions

View File

@ -547,8 +547,7 @@ void EmuCodeBlock::SafeWriteRegToReg(OpArg reg_value, X64Reg reg_addr, int acces
reg_value = FixImmediate(accessSize, reg_value); reg_value = FixImmediate(accessSize, reg_value);
// TODO: support byte-swapped non-immediate fastmem stores // TODO: support byte-swapped non-immediate fastmem stores
if (!jit->js.memcheck && if (SConfig::GetInstance().m_LocalCoreStartupParameter.bFastmem &&
SConfig::GetInstance().m_LocalCoreStartupParameter.bFastmem &&
!(flags & SAFE_LOADSTORE_NO_FASTMEM) && !(flags & SAFE_LOADSTORE_NO_FASTMEM) &&
(reg_value.IsImm() || !(flags & SAFE_LOADSTORE_NO_SWAP)) (reg_value.IsImm() || !(flags & SAFE_LOADSTORE_NO_SWAP))
#ifdef ENABLE_MEM_CHECK #ifdef ENABLE_MEM_CHECK