Remove Emulator::RenderCpuState
This commit is contained in:
@@ -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")) {
|
||||
|
||||
@@ -33,7 +33,6 @@ class Emulator : public SharedRom {
|
||||
void RenderEmulator();
|
||||
void RenderSnesPpu();
|
||||
void RenderBreakpointList();
|
||||
void RenderCpuState(Cpu& cpu);
|
||||
void RenderMemoryViewer();
|
||||
|
||||
struct Bookmark {
|
||||
|
||||
Reference in New Issue
Block a user