Update sCheckDataRange to support 0x00800000 - 0x010000000 memory region

This commit is contained in:
Maschell 2022-10-03 21:30:14 +02:00
parent b66266af54
commit d3629321e1

View File

@ -11,7 +11,7 @@ DECL_FUNCTION(uint32_t, KiEffectiveToPhysical, uint32_t addressSpace, uint32_t v
}
DECL_FUNCTION(int32_t, sCheckDataRange, uint32_t address, uint32_t maxDataSize) {
if ((address & 0xF0000000) == (MEMORY_START_BASE & 0xF0000000)) {
if ((address >= 0x00800000 && address < 0x01000000) || (address & 0xF0000000) == (MEMORY_START_BASE & 0xF0000000)) {
return 1;
}