diff --git a/Processors/68000/Implementation/68000Implementation.hpp b/Processors/68000/Implementation/68000Implementation.hpp index 713818999..668daed8c 100644 --- a/Processors/68000/Implementation/68000Implementation.hpp +++ b/Processors/68000/Implementation/68000Implementation.hpp @@ -7,6 +7,8 @@ // #include +#include +#include #define get_ccr() \ ( \ diff --git a/Processors/68000/Implementation/68000Storage.cpp b/Processors/68000/Implementation/68000Storage.cpp index 5aa41da8f..256d7a815 100644 --- a/Processors/68000/Implementation/68000Storage.cpp +++ b/Processors/68000/Implementation/68000Storage.cpp @@ -10,6 +10,7 @@ #include #include +#include #include #include @@ -3494,9 +3495,13 @@ CPU::MC68000::ProcessorStorage::ProcessorStorage() { all_micro_ops_.emplace_back(); // Install operations. +#ifndef NDEBUG const std::clock_t start = std::clock(); +#endif constructor.install_instructions(); +#ifndef NDEBUG std::cout << "Construction took " << double(std::clock() - start) / double(CLOCKS_PER_SEC / 1000) << "ms" << std::endl; +#endif // Realise the special programs as direct pointers. reset_bus_steps_ = &all_bus_steps_[reset_offset];