From b0a3d5753afba073540d768e5263dba296602084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 6 Mar 2026 09:32:16 +0100 Subject: [PATCH] Remove an obsolete setting --- Core/Config.cpp | 1 - Core/Config.h | 1 - Windows/Debugger/Debugger_Disasm.cpp | 11 ++--------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 3a38e944e7..f1a2a4d723 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -1096,7 +1096,6 @@ static const ConfigSetting debuggerSettings[] = { ConfigSetting("ConsoleWindowY", SETTING(g_Config, iConsoleWindowY), -1, CfgFlag::DEFAULT), ConfigSetting("FontWidth", SETTING(g_Config, iFontWidth), 8, CfgFlag::DEFAULT), ConfigSetting("FontHeight", SETTING(g_Config, iFontHeight), 12, CfgFlag::DEFAULT), - ConfigSetting("DisplayStatusBar", SETTING(g_Config, bDisplayStatusBar), true, CfgFlag::DEFAULT), ConfigSetting("ShowBottomTabTitles",SETTING(g_Config, bShowBottomTabTitles), true, CfgFlag::DEFAULT), ConfigSetting("ShowDeveloperMenu", SETTING(g_Config, bShowDeveloperMenu), false, CfgFlag::DEFAULT), ConfigSetting("SkipDeadbeefFilling", SETTING(g_Config, bSkipDeadbeefFilling), false, CfgFlag::DEFAULT), diff --git a/Core/Config.h b/Core/Config.h index e0f520c787..1eee7388c4 100644 --- a/Core/Config.h +++ b/Core/Config.h @@ -622,7 +622,6 @@ public: int iConsoleWindowY; int iFontWidth; int iFontHeight; - bool bDisplayStatusBar; bool bShowBottomTabTitles; bool bShowDeveloperMenu; diff --git a/Windows/Debugger/Debugger_Disasm.cpp b/Windows/Debugger/Debugger_Disasm.cpp index 8d6000efd6..ef577edf23 100644 --- a/Windows/Debugger/Debugger_Disasm.cpp +++ b/Windows/Debugger/Debugger_Disasm.cpp @@ -112,9 +112,6 @@ CDisasm::CDisasm(HINSTANCE _hInstance, HWND _hParent, MIPSDebugInterface *_cpu) // init status bar statusBarWnd = CreateWindowEx(0, STATUSCLASSNAME, L"", WS_CHILD | WS_VISIBLE, 0, 0, 0, 0, m_hDlg, (HMENU)IDC_DISASMSTATUSBAR, _hInstance, NULL); - if (g_Config.bDisplayStatusBar == false) { - ShowWindow(statusBarWnd,SW_HIDE); - } // set it to use two parts RECT statusBarRect; @@ -614,12 +611,8 @@ void CDisasm::UpdateSize(WORD width, WORD height) HWND bottomTabs = GetDlgItem(m_hDlg, IDC_DEBUG_BOTTOMTABS); // ignore the status bar - int topHeightOffset = 0; - if (g_Config.bDisplayStatusBar) - { - GetWindowRect(statusBarWnd,&windowRect); - topHeightOffset = (windowRect.bottom-windowRect.top); - } + GetWindowRect(statusBarWnd, &windowRect); + int topHeightOffset = (windowRect.bottom - windowRect.top); CtrlDisAsmView *ptr = DisAsmView(); int disassemblyRowHeight = ptr->getRowHeight();