1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-21 21:33:54 +00:00

Exclude the ROM from contention on 48kb and 128kb models.

This commit is contained in:
Thomas Harte 2021-04-21 18:49:18 -04:00
parent c481f475e7
commit 9293bcbc88

View File

@ -717,9 +717,9 @@ template<Model model> class ConcreteMachine:
void set_memory(int bank, uint8_t source) {
if constexpr (model >= Model::Plus2a) {
is_contended_[bank] = (source >= 4 && source < 8);
is_contended_[bank] = source >= 4 && source < 8;
} else {
is_contended_[bank] = source & 1;
is_contended_[bank] = source < 0x80 && source & 1;
}
pages_[bank] = source;