mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01: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() {
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
CDisasm(HINSTANCE _hInstance, HWND _hParent, DebugInterface *cpu);
|
||||
~CDisasm();
|
||||
|
||||
void Show(bool bShow) override;
|
||||
void Show(bool bShow, bool includeToTop = true) override;
|
||||
|
||||
void Update() override {
|
||||
UpdateDialog(true);
|
||||
|
||||
Reference in new issue
Block a user