1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-09 20:25:19 +00:00

Merge pull request #1400 from TomHarte/DelegateOrderTest

Fix order of `if` tests.
This commit is contained in:
Thomas Harte
2024-09-08 21:30:44 -04:00
committed by GitHub

View File

@@ -969,13 +969,13 @@ class ConcreteMachine:
ssm_delegate_->perform(code);
ssm_code_ = 0;
}
}
} else if((ssm_code_ & 0xffff) == 0xedfe) {
ssm_delegate_->perform(0xfffe);
} else if((ssm_code_ & 0xffff) == 0xedff) {
ssm_delegate_->perform(0xffff);
}
}
}
[[fallthrough]];
case CPU::Z80::PartialMachineCycle::Read: