mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00: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:
1 parent
8d0ca1e4f1
commit
5f9dfeea86
5 files changed
+13
-10
No files matched your search
@@ -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