1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-25 18:30:07 +00:00

Ensures no signalling to wait by a ZX80, ever.

This commit is contained in:
Thomas Harte 2021-03-21 22:38:50 -04:00
parent 60a0f8e824
commit c097ed348a

View File

@ -165,7 +165,7 @@ template<bool is_zx81> class ConcreteMachine:
}
if(!(address & 2)) nmi_is_enabled_ = false;
if(!(address & 1)) nmi_is_enabled_ = is_zx81;
if(!nmi_is_enabled_) z80_.set_wait_line(false);
if(is_zx81 && !nmi_is_enabled_) z80_.set_wait_line(false);
// The below emulates the ZonX AY expansion device.
if constexpr (is_zx81) {