From cc8a65780e5a7fafb3ff26f8b89ac22a432f9b2f Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 3 May 2019 14:42:36 -0400 Subject: [PATCH] Adds further missing includes. --- Processors/68000/Implementation/68000Implementation.hpp | 2 ++ Processors/68000/Implementation/68000Storage.cpp | 5 +++++ 2 files changed, 7 insertions(+) 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];