Support expanding RAM to 8MB (dev console)
This commit is contained in:
parent
d021850394
commit
e382df0d41
21 changed files with 144 additions and 76 deletions
|
|
@ -1140,7 +1140,7 @@ static T DoMemoryRead(PhysicalMemoryAddress address)
|
|||
|
||||
if (address < Bus::RAM_MIRROR_END)
|
||||
{
|
||||
std::memcpy(&result, &Bus::g_ram[address & Bus::RAM_MASK], sizeof(result));
|
||||
std::memcpy(&result, &Bus::g_ram[address & Bus::g_ram_mask], sizeof(result));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue