mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Remove card pages from the equation.
This commit is contained in:
parent
48e8bfbb0e
commit
beb4993548
@ -399,7 +399,12 @@ namespace {
|
||||
while(logical < [next intValue]) {
|
||||
const auto ®ion =
|
||||
self->_memoryMap.regions[self->_memoryMap.region_map[logical]];
|
||||
const bool isIO = region.flags & MemoryMap::Region::IsIO;
|
||||
|
||||
// This emulator marks card pages as IO because it uses IO to mean
|
||||
// "anything that isn't the built-in RAM". Just don't test card pages.
|
||||
const bool isIO =
|
||||
region.flags & MemoryMap::Region::IsIO &&
|
||||
(((logical & 0xff) < 0xc1) || ((logical & 0xff) > 0xcf));
|
||||
|
||||
XCTAssertEqual(
|
||||
isIO,
|
||||
|
Loading…
Reference in New Issue
Block a user