diff --git a/Machines/Sinclair/ZXSpectrum/ZXSpectrum.cpp b/Machines/Sinclair/ZXSpectrum/ZXSpectrum.cpp index 30686b1f5..c7ce231ca 100644 --- a/Machines/Sinclair/ZXSpectrum/ZXSpectrum.cpp +++ b/Machines/Sinclair/ZXSpectrum/ZXSpectrum.cpp @@ -717,9 +717,9 @@ template 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;