1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-09 06:29:33 +00:00

Adds further missing includes.

This commit is contained in:
Thomas Harte 2019-05-03 14:42:36 -04:00
parent c117deb43b
commit cc8a65780e
2 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,8 @@
// //
#include <cstring> #include <cstring>
#include <iostream>
#include <ostream>
#define get_ccr() \ #define get_ccr() \
( \ ( \

View File

@ -10,6 +10,7 @@
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#include <ctime>
#include <map> #include <map>
#include <sstream> #include <sstream>
@ -3494,9 +3495,13 @@ CPU::MC68000::ProcessorStorage::ProcessorStorage() {
all_micro_ops_.emplace_back(); all_micro_ops_.emplace_back();
// Install operations. // Install operations.
#ifndef NDEBUG
const std::clock_t start = std::clock(); const std::clock_t start = std::clock();
#endif
constructor.install_instructions(); constructor.install_instructions();
#ifndef NDEBUG
std::cout << "Construction took " << double(std::clock() - start) / double(CLOCKS_PER_SEC / 1000) << "ms" << std::endl; std::cout << "Construction took " << double(std::clock() - start) / double(CLOCKS_PER_SEC / 1000) << "ms" << std::endl;
#endif
// Realise the special programs as direct pointers. // Realise the special programs as direct pointers.
reset_bus_steps_ = &all_bus_steps_[reset_offset]; reset_bus_steps_ = &all_bus_steps_[reset_offset];