mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 09:35:09 +02:00
Windows: Reduce focus juggling on game start.
Previously, we would activate the debugger (if enabled), and then reactivate the main window. This meant if you switched to something, PPSSPP would demand focus once the game loaded.
This commit is contained in:
@@ -848,14 +848,14 @@ void CDisasm::SetDebugMode(bool _bDebug, bool switchPC)
|
||||
}
|
||||
}
|
||||
|
||||
void CDisasm::Show(bool bShow) {
|
||||
void CDisasm::Show(bool bShow, bool includeToTop) {
|
||||
if (deferredSymbolFill_ && bShow) {
|
||||
if (g_symbolMap) {
|
||||
g_symbolMap->FillSymbolListBox(GetDlgItem(m_hDlg, IDC_FUNCTIONLIST), ST_FUNCTION);
|
||||
deferredSymbolFill_ = false;
|
||||
}
|
||||
}
|
||||
Dialog::Show(bShow);
|
||||
Dialog::Show(bShow, includeToTop);
|
||||
}
|
||||
|
||||
void CDisasm::NotifyMapLoaded() {
|
||||
|
||||
Reference in New Issue
Block a user