mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Add barebones GE state display window
This commit is contained in:
1 parent
6d33408da6
commit
47c98a9135
4 files changed
+47
-16
No files matched your search
@@ -825,7 +825,7 @@ void ImDebugger::Frame(MIPSDebugInterface *mipsDebug, GPUDebugInterface *gpuDebu
|
||||
}
|
||||
if (ImGui::BeginMenu("Graphics")) {
|
||||
ImGui::MenuItem("GE Debugger", nullptr, &cfg_.geDebuggerOpen);
|
||||
ImGui::MenuItem("GE Registers", nullptr, &cfg_.geRegistersOpen);
|
||||
ImGui::MenuItem("GE State", nullptr, &cfg_.geStateOpen);
|
||||
ImGui::MenuItem("Display Output", nullptr, &cfg_.displayOpen);
|
||||
ImGui::MenuItem("Textures", nullptr, &cfg_.texturesOpen);
|
||||
ImGui::MenuItem("Framebuffers", nullptr, &cfg_.framebuffersOpen);
|
||||
@@ -929,8 +929,8 @@ void ImDebugger::Frame(MIPSDebugInterface *mipsDebug, GPUDebugInterface *gpuDebu
|
||||
DrawGeDebuggerWindow(cfg_);
|
||||
}
|
||||
|
||||
if (cfg_.geRegistersOpen) {
|
||||
DrawGeRegistersWindow(cfg_);
|
||||
if (cfg_.geStateOpen) {
|
||||
DrawGeStateWindow(cfg_, gpuDebug);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1153,6 +1153,8 @@ void ImConfig::SyncConfig(IniFile *ini, bool save) {
|
||||
sync.Sync("audioChannelsOpen", &audioChannelsOpen, false);
|
||||
sync.Sync("texturesOpen", &texturesOpen, false);
|
||||
sync.Sync("debugStatsOpen", &debugStatsOpen, false);
|
||||
sync.Sync("geDebuggerOpen", &geDebuggerOpen, false);
|
||||
sync.Sync("geStateOpen", &geStateOpen, false);
|
||||
|
||||
sync.SetSection(ini->GetOrCreateSection("Settings"));
|
||||
sync.Sync("displayLatched", &displayLatched, false);
|
||||
|
||||
Reference in new issue
Block a user