mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Remove an obsolete setting
This commit is contained in:
1 parent
2d1b999858
commit
b0a3d5753a
3 files changed
+2
-11
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user