From 2a3a8520a2571de587786944ac7654ac29220933 Mon Sep 17 00:00:00 2001 From: skidau Date: Sat, 25 Oct 2014 01:04:20 +1100 Subject: [PATCH] Removed the EXRAM_MASK from the safe address check as it was causing invalid accesses on Wii games in DEBUGFAST builds --- Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp index 0e9853948a..13a33754bc 100644 --- a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp @@ -316,13 +316,6 @@ void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress, // The following masks the region used by the GC/Wii virtual memory lib mem_mask |= Memory::ADDR_MASK_MEM1; -#ifdef ENABLE_MEM_CHECK - if (SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableDebugging) - { - mem_mask |= Memory::EXRAM_MASK; - } -#endif - if (opAddress.IsImm()) { u32 address = (u32)opAddress.offset + offset; @@ -519,13 +512,6 @@ void EmuCodeBlock::SafeWriteRegToReg(OpArg reg_value, X64Reg reg_addr, int acces // The following masks the region used by the GC/Wii virtual memory lib mem_mask |= Memory::ADDR_MASK_MEM1; -#ifdef ENABLE_MEM_CHECK - if (SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableDebugging) - { - mem_mask |= Memory::EXRAM_MASK; - } -#endif - bool swap = !(flags & SAFE_LOADSTORE_NO_SWAP); FixupBranch slow, exit;