From dbdea952413434ba1d16257909a44f539e5d6b5d Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 9 Dec 2020 20:10:56 -0500 Subject: [PATCH] Ensure `use_automatic_tape_control_` is always a valid bool. --- Machines/ZX8081/ZX8081.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/ZX8081/ZX8081.cpp b/Machines/ZX8081/ZX8081.cpp index eb7912bd0..3841a58c5 100644 --- a/Machines/ZX8081/ZX8081.cpp +++ b/Machines/ZX8081/ZX8081.cpp @@ -466,7 +466,7 @@ template class ConcreteMachine: void set_use_fast_tape() { use_fast_tape_hack_ = allow_fast_tape_hack_ && tape_player_.has_tape(); } - bool use_automatic_tape_motor_control_; + bool use_automatic_tape_motor_control_ = true; HalfCycles tape_advance_delay_ = 0; // MARK: - Video