Fix bug with watch window visibility pointing to the wrong bool

This commit is contained in:
Henrik Rydgård committed 2025-08-28 23:23:19 +02:00
1 parent 3268d2afd0
commit e369da453b
1 file changed
+1 -1
+1 -1
View File
@@ -1854,7 +1854,7 @@ static void DrawSymbols(const MIPSDebugInterface *debug, ImConfig &cfg, ImContro
ImWatchWindow::ImWatchWindow() {}
void ImWatchWindow::Draw(ImConfig &cfg, ImControl &control, MIPSDebugInterface *mipsDebug) {
if (!ImGui::Begin("Watch", &cfg.atracToolOpen) || !g_symbolMap) {
if (!ImGui::Begin("Watch", &cfg.watchOpen) || !g_symbolMap) {
ImGui::End();
return;
}