32 void save(ImGuiTextBuffer& buf)
override;
46 void drawRegisters(
CPURegs& regs);
51 void actionStepOver();
53 void actionStepBack();
56 std::vector<std::unique_ptr<ImGuiDisassembly>> disassemblyViewers;
57 std::vector<std::unique_ptr<ImGuiBitmapViewer>> bitmapViewers;
58 std::vector<std::unique_ptr<ImGuiCharacter>> tileViewers;
59 std::vector<std::unique_ptr<ImGuiSpriteViewer>> spriteViewers;
60 std::vector<std::unique_ptr<DebuggableEditor>> hexEditors;
62 bool showControl =
false;
63 bool showSlots =
false;
64 bool showStack =
false;
65 bool showRegisters =
false;
66 bool showFlags =
false;
67 bool showXYFlags =
false;
70 static constexpr auto persistentElements = std::tuple{
72 PersistentElement{
"showRegisters", &ImGuiDebugger::showRegisters},
77 PersistentElementMax{
"flagsLayout", &ImGuiDebugger::flagsLayout, 2}