Remove Emulator::RenderCpuState

This commit is contained in:
scawful
2024-04-17 20:34:37 -04:00
parent 597d3bac38
commit a18b6db285
2 changed files with 0 additions and 14 deletions

View File

@@ -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")) {

View File

@@ -33,7 +33,6 @@ class Emulator : public SharedRom {
void RenderEmulator();
void RenderSnesPpu();
void RenderBreakpointList();
void RenderCpuState(Cpu& cpu);
void RenderMemoryViewer();
struct Bookmark {