CPU/CodeCache: Only cache EXP1 blocks up to 0x1F060000

Neither cart type has code mapped above this address.

Saves ~91MB of memory.
This commit is contained in:
Stenzek 2024-12-14 13:56:18 +10:00
parent b99fb22522
commit 726aa67d1b
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -253,15 +253,15 @@ static constexpr LUTRangeList GetLUTRanges()
{
const LUTRangeList ranges = {{
{0x00000000, 0x00800000}, // RAM
{0x1F000000, 0x1F800000}, // EXP1
{0x1F000000, 0x1F060000}, // EXP1
{0x1FC00000, 0x1FC80000}, // BIOS
{0x80000000, 0x80800000}, // RAM
{0x9F000000, 0x9F800000}, // EXP1
{0x9F000000, 0x9F060000}, // EXP1
{0x9FC00000, 0x9FC80000}, // BIOS
{0xA0000000, 0xA0800000}, // RAM
{0xBF000000, 0xBF800000}, // EXP1
{0xBF000000, 0xBF060000}, // EXP1
{0xBFC00000, 0xBFC80000} // BIOS
}};
return ranges;