From 2c19bf25257a1617197a496bb19436f3a45e0543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 12 Dec 2024 19:05:33 +0100 Subject: [PATCH] More const cleanup --- UI/ImDebugger/ImDebugger.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UI/ImDebugger/ImDebugger.cpp b/UI/ImDebugger/ImDebugger.cpp index 435d761137..1b47144843 100644 --- a/UI/ImDebugger/ImDebugger.cpp +++ b/UI/ImDebugger/ImDebugger.cpp @@ -112,7 +112,7 @@ void DrawSchedulerView(ImConfig &cfg) { ImGui::End(); } -void DrawRegisterView(ImConfig &config, ImControl &control, MIPSDebugInterface *mipsDebug) { +void DrawRegisterView(ImConfig &config, ImControl &control, const MIPSDebugInterface *mipsDebug) { ImGui::SetNextWindowSize(ImVec2(320, 600), ImGuiCond_FirstUseEver); if (!ImGui::Begin("Registers", &config.regsOpen)) { ImGui::End(); @@ -743,7 +743,7 @@ void DrawAudioChannels(ImConfig &cfg) { ImGui::End(); } -void DrawCallStacks(MIPSDebugInterface *debug, bool *open) { +static void DrawCallStacks(const MIPSDebugInterface *debug, bool *open) { if (!ImGui::Begin("Callstacks", open)) { ImGui::End(); return; @@ -799,7 +799,7 @@ void DrawCallStacks(MIPSDebugInterface *debug, bool *open) { ImGui::End(); } -void DrawModules(MIPSDebugInterface *debug, ImConfig &cfg) { +static void DrawModules(const MIPSDebugInterface *debug, ImConfig &cfg) { if (!ImGui::Begin("Modules", &cfg.modulesOpen) || !g_symbolMap) { ImGui::End(); return;