From 08a542a324dc2a1e35aac04b3cf05f5bdb0f12d3 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 15 Jun 2017 18:30:12 -0400 Subject: [PATCH] Reenabled the fast-loading hack. --- Machines/ZX8081/ZX8081.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Machines/ZX8081/ZX8081.cpp b/Machines/ZX8081/ZX8081.cpp index 84e8d6c8c..26a0dcb89 100644 --- a/Machines/ZX8081/ZX8081.cpp +++ b/Machines/ZX8081/ZX8081.cpp @@ -100,7 +100,7 @@ int Machine::perform_machine_cycle(const CPU::Z80::MachineCycle &cycle) { set_interrupt_line(false); // Check for use of the fast tape hack. -/* if(address == tape_trap_address_) { // TODO: && fast_tape_hack_enabled_ + if(address == tape_trap_address_) { // TODO: && fast_tape_hack_enabled_ int next_byte = parser_.get_next_byte(tape_player_.get_tape()); if(next_byte != -1) { uint16_t hl = get_value_of_register(CPU::Z80::Register::HL); @@ -109,7 +109,7 @@ int Machine::perform_machine_cycle(const CPU::Z80::MachineCycle &cycle) { set_value_of_register(CPU::Z80::Register::ProgramCounter, tape_return_address_ - 1); return 0; } - }*/ + } case CPU::Z80::BusOperation::Read: if(address < ram_base_) {