mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
This needs explicitly to be a bool
for the table lookups to work.
This commit is contained in:
parent
43251193ee
commit
6cb71eb11b
@ -570,7 +570,7 @@ class MemoryMap {
|
||||
#define MemoryMapWrite(map, region, address, value) \
|
||||
if(region.write) { \
|
||||
region.write[address] = *value; \
|
||||
const auto is_shadowed = region.flags & MemoryMap::Region::IsShadowed; \
|
||||
const bool is_shadowed = region.flags & MemoryMap::Region::IsShadowed; \
|
||||
map.shadow_base[is_shadowed][(®ion.write[address] - map.ram_base) & map.shadow_mask[is_shadowed]] = *value; \
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user