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

Ensured tape doesn't proceed of its own volition when in fast-loading mode.

This commit is contained in:
Thomas Harte 2017-06-23 20:21:37 -04:00
parent 50375fb373
commit a72a2e0a1a

View File

@ -53,7 +53,7 @@ int Machine::perform_machine_cycle(const CPU::Z80::PartialMachineCycle &cycle) {
}
if(is_zx81_) horizontal_counter_ %= 207;
tape_player_.run_for_cycles(cycle.length);
if(!use_fast_tape_hack_) tape_player_.run_for_cycles(cycle.length);
if(nmi_is_enabled_ && !get_halt_line() && get_non_maskable_interrupt_line()) {
set_wait_line(true);