Added controller support

This commit is contained in:
Lauchmelder 2022-03-01 18:13:47 +01:00
parent e5cc1565fd
commit f4e6198a99
No known key found for this signature in database
GPG key ID: C2403C69D78F011D
15 changed files with 310 additions and 6 deletions
src/debugger

View file

@ -10,6 +10,7 @@
#include "Disassembler.hpp"
#include "MemoryViewer.hpp"
#include "NametableViewer.hpp"
#include "ControllerPortViewer.hpp"
Debugger::Debugger(Bus* bus) :
bus(bus)
@ -20,6 +21,7 @@ Debugger::Debugger(Bus* bus) :
windows.push_back(disassembler);
windows.push_back(new MemoryViewer(this, bus));
windows.push_back(new NametableViewer(this, bus));
windows.push_back(new ControllerPortViewer(this, &bus->controllerPort));
}
Debugger::~Debugger()