Solving a bug with the bus when enabling/disabling a debugger

This commit is contained in:
Anonymus Raccoon
2020-04-28 21:20:16 +02:00
parent 686b70dbfd
commit 88a6c5a096
6 changed files with 40 additions and 5 deletions
+2
View File
@@ -5,6 +5,7 @@
#ifndef COMSQUARE_CPU_HPP
#define COMSQUARE_CPU_HPP
#include <iostream>
#include "../Memory/AMemory.hpp"
#include "../Memory/MemoryBus.hpp"
#include "../Models/Int24.hpp"
@@ -642,6 +643,7 @@ namespace ComSquare::CPU
CPU(const CPU &) = default;
CPU &operator=(const CPU &) = delete;
~CPU() override = default;
//! @brief This function continue to execute the Cartridge code.
//! @return The number of CPU cycles that elapsed
virtual unsigned update();