mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 05:59:15 +01:00
[SC64][SW] Fixed ROM shadow offset address translation
This commit is contained in:
parent
72f6160cf1
commit
46f7b8b794
@ -136,7 +136,7 @@ static bool cfg_translate_address (uint32_t *address, uint32_t length, translate
|
||||
}
|
||||
if (*address >= 0x1FFC0000 && *address < 0x1FFE0000) {
|
||||
if ((*address + length) <= 0x1FFE0000) {
|
||||
*address = *address - 0x1FFC0000 + 0x04E00000;
|
||||
*address = *address - 0x1FFC0000 + 0x04FE0000;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user