From 2f8078db2205897aec91bd7bf3d7708f4f5d7aff Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 2 Jan 2020 20:15:48 -0500 Subject: [PATCH] Switches to should_log as a global when I'm hacking about. --- Machines/Atari/ST/AtariST.cpp | 1 + Processors/68000/Implementation/68000Implementation.hpp | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Machines/Atari/ST/AtariST.cpp b/Machines/Atari/ST/AtariST.cpp index e29c45069..42ce25a40 100644 --- a/Machines/Atari/ST/AtariST.cpp +++ b/Machines/Atari/ST/AtariST.cpp @@ -16,6 +16,7 @@ #include "../../../Activity/Source.hpp" //#define LOG_TRACE +//bool should_log = false; #include "../../../Processors/68000/68000.hpp" #include "../../../Components/AY38910/AY38910.hpp" diff --git a/Processors/68000/Implementation/68000Implementation.hpp b/Processors/68000/Implementation/68000Implementation.hpp index 3d5e986e3..25dc6125e 100644 --- a/Processors/68000/Implementation/68000Implementation.hpp +++ b/Processors/68000/Implementation/68000Implementation.hpp @@ -69,10 +69,6 @@ template void Processor::run_for(HalfCycles duration) { const HalfCycles remaining_duration = duration + half_cycles_left_to_run_; -#ifdef LOG_TRACE - static bool should_log = false; -#endif - // This loop counts upwards rather than downwards because it simplifies calculation of // E as and when required. HalfCycles cycles_run_for; @@ -243,7 +239,7 @@ template void Proces case ExecutionState::BeginInterrupt: #ifdef LOG_TRACE - should_log = true; +// should_log = true; #endif active_program_ = nullptr; active_micro_op_ = interrupt_micro_ops_;