mirror of
https://github.com/TomHarte/CLK.git
synced 2024-06-25 18:30:07 +00:00
Eliminate impossible conditional.
This commit is contained in:
parent
c91ce4cfea
commit
f86e9fe086
|
@ -77,7 +77,7 @@ class MemoryMap {
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto physical = physical_address(region, address);
|
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];
|
return shadow_pages_[(physical >> 10) & 127] & shadow_banks_[physical >> 17];
|
||||||
}
|
}
|
||||||
void write(const Region ®ion, uint32_t address, uint8_t value) {
|
void write(const Region ®ion, uint32_t address, uint8_t value) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user