Eliminate impossible conditional.

This commit is contained in:
Thomas Harte 2024-04-22 21:58:49 -04:00
parent c91ce4cfea
commit f86e9fe086
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class MemoryMap {
}
const auto physical = physical_address(region, address);
assert(physical >= 0 && physical <= 0xff'ffff);
assert(physical <= 0xff'ffff);
return shadow_pages_[(physical >> 10) & 127] & shadow_banks_[physical >> 17];
}
void write(const Region &region, uint32_t address, uint8_t value) {