Fixed the ram_search to only display possible ram addresses from 0x0000 to 0x07FF and 0x6000 to 0x7FFF
This commit is contained in:
parent
55daec3e57
commit
32261b0640
|
@ -50,10 +50,11 @@ bool IsHardwareAddressValid(HWAddressType address)
|
||||||
if (!GameInfo)
|
if (!GameInfo)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (address >= 0x0000 && address <= 0xffff)
|
if ((address >= 0x0000 && address <= 0x07ff) || (address >= 0x6000 && address <= 0x7FFF))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
#define INVALID_HARDWARE_ADDRESS ((HWAddressType) -1)
|
#define INVALID_HARDWARE_ADDRESS ((HWAddressType) -1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue