mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-15 12:08:33 +00:00
Exclude the ROM from contention on 48kb and 128kb models.
This commit is contained in:
parent
c481f475e7
commit
9293bcbc88
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user