mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 22:35:39 +00:00
Bus: Fix memory reserving when 8MB RAM is enabled
This commit is contained in:
parent
d9151cebf1
commit
729675f497
|
@ -420,24 +420,15 @@ void UpdateFastmemViews(CPUFastmemMode mode)
|
|||
|
||||
// KUSEG - cached
|
||||
MapRAM(0x00000000);
|
||||
// MapRAM(0x00200000);
|
||||
// MapRAM(0x00400000);
|
||||
// MapRAM(0x00600000);
|
||||
ReserveRegion(0x00200000, 0x80000000 - 1);
|
||||
ReserveRegion(0x00000000 + g_ram_size, 0x80000000 - 1);
|
||||
|
||||
// KSEG0 - cached
|
||||
MapRAM(0x80000000);
|
||||
// MapRAM(0x80200000);
|
||||
// MapRAM(0x80400000);
|
||||
// MapRAM(0x80600000);
|
||||
ReserveRegion(0x80200000, 0xA0000000 - 1);
|
||||
ReserveRegion(0x80000000 + g_ram_size, 0xA0000000 - 1);
|
||||
|
||||
// KSEG1 - uncached
|
||||
MapRAM(0xA0000000);
|
||||
// MapRAM(0xA0200000);
|
||||
// MapRAM(0xA0400000);
|
||||
// MapRAM(0xA0600000);
|
||||
ReserveRegion(0xA0200000, 0xFFFFFFFF);
|
||||
ReserveRegion(0xA0000000 + g_ram_size, 0xFFFFFFFF);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue