Slight correction to r2164.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2165 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
935eb226ca
commit
622f396d8a
|
@ -967,10 +967,10 @@ static OpArg regBuildMemAddress(RegInfo& RI, InstLoc I, InstLoc AI,
|
|||
if (isImm(*AI)) {
|
||||
unsigned addr = RI.Build->GetImmValue(AI);
|
||||
if (Memory::IsRAMAddress(addr)) {
|
||||
#ifdef _M_IX86
|
||||
// 32-bit
|
||||
if (dest)
|
||||
*dest = regFindFreeReg(RI);
|
||||
#ifdef _M_IX86
|
||||
// 32-bit
|
||||
if (Profiled)
|
||||
return M((void*)((u8*)Memory::base + (addr & Memory::MEMVIEW32_MASK)));
|
||||
return M((void*)addr);
|
||||
|
|
Loading…
Reference in New Issue