mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 12:35:27 +00:00
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
@ -966,11 +966,11 @@ static OpArg regBuildMemAddress(RegInfo& RI, InstLoc I, InstLoc AI,
|
||||
unsigned ProfileOffset = 0) {
|
||||
if (isImm(*AI)) {
|
||||
unsigned addr = RI.Build->GetImmValue(AI);
|
||||
if (Memory::IsRAMAddress(addr)) {
|
||||
#ifdef _M_IX86
|
||||
// 32-bit
|
||||
if (Memory::IsRAMAddress(addr)) {
|
||||
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…
x
Reference in New Issue
Block a user