Reenabling the CPU debugger

This commit is contained in:
Zoe Roux
2021-07-06 12:45:27 +02:00
parent 6693c30df2
commit f189821764
34 changed files with 681 additions and 572 deletions
+3 -2
View File
@@ -15,7 +15,7 @@
#include <optional>
#ifdef DEBUGGER_ENABLED
//#include <Debugger/CPU/CPUDebug.hpp>
#include "Debugger/CPU/CPUDebug.hpp"
#include "Debugger/MemoryViewer.hpp"
#include "Debugger/HeaderViewer.hpp"
#include "Debugger/MemoryBusDebug.hpp"
@@ -24,6 +24,7 @@
#include "Debugger/TileViewer/TileViewer.hpp"
#endif
namespace ComSquare
{
//! @brief Container of all the components of the SNES.
@@ -32,7 +33,7 @@ namespace ComSquare
private:
#ifdef DEBUGGER_ENABLED
//! @brief The CPU's debugger with disassembly, pause, step by step...
// std::optional<Debugger::CPUDebug> _cpuDebugger;
std::optional<Debugger::CPUDebug> _cpuDebugger;
//! @brief A debugger that shows every read and write made over the bus.
std::optional<Debugger::MemoryBusDebug> _busDebugger;