- fix typo (allow edit ROM in Memory Viewer);
This commit is contained in:
mtabachenko 2013-09-01 09:35:28 +00:00
parent 0794fc29fa
commit 966f44785b
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ bool memIsAvailable(MemRegionType regionType, HWAddressType address)
if (regionType == MEMVIEW_ARM7 && (address & 0xFFFF0000) == 0x04800000)
return false;
if (regionType == MEMVIEW_ROM && (address < gameInfo.romsize))
if (regionType == MEMVIEW_ROM && (address > gameInfo.romsize))
return false;
return true;