diff --git a/src/app/emu/emulator.cc b/src/app/emu/emulator.cc index 4e687fbe..fa99b831 100644 --- a/src/app/emu/emulator.cc +++ b/src/app/emu/emulator.cc @@ -185,7 +185,6 @@ void Emulator::RenderEmulator() { Text text="E: %d" data="cpu.E" } } - Function id="CpuState" } } } @@ -201,8 +200,6 @@ void Emulator::RenderEmulator() { Bind(emulator_node.GetNode("SnesPpu"), [&]() { RenderSnesPpu(); }); Bind(emulator_node.GetNode("BreakpointList"), [&]() { RenderBreakpointList(); }); - Bind(emulator_node.GetNode("CpuState"), - [&]() { RenderCpuState(snes_.cpu()); }); gui::zeml::Render(emulator_node); } @@ -287,16 +284,6 @@ void Emulator::RenderBreakpointList() { } } -void Emulator::RenderCpuState(Cpu& cpu) { - // Call Stack - if (ImGui::CollapsingHeader("Call Stack", ImGuiTreeNodeFlags_DefaultOpen)) { - // For each return address in the call stack: - Text("Return Address: 0x%08X", 0xFFFFFF); // Placeholder - } - - snes_.SetCpuMode(0); -} - void Emulator::RenderMemoryViewer() { static MemoryEditor mem_edit; if (ImGui::Button("RAM")) { diff --git a/src/app/emu/emulator.h b/src/app/emu/emulator.h index 76428138..6deaa5d2 100644 --- a/src/app/emu/emulator.h +++ b/src/app/emu/emulator.h @@ -33,7 +33,6 @@ class Emulator : public SharedRom { void RenderEmulator(); void RenderSnesPpu(); void RenderBreakpointList(); - void RenderCpuState(Cpu& cpu); void RenderMemoryViewer(); struct Bookmark {