mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Win32: Make pausing when minimizing optional in the ini.
This commit is contained in:
1 parent
9efefeb89c
commit
1fbd94d589
3 files changed
+3
-1
No files matched your search
@@ -309,6 +309,7 @@ static ConfigSetting generalSettings[] = {
|
||||
ConfigSetting("WindowWidth", &g_Config.iWindowWidth, 0), // 0 will be automatically reset later (need to do the AdjustWindowRect dance).
|
||||
ConfigSetting("WindowHeight", &g_Config.iWindowHeight, 0),
|
||||
ConfigSetting("PauseOnLostFocus", &g_Config.bPauseOnLostFocus, false),
|
||||
ConfigSetting("PauseWhenMinimized", &g_Config.bPauseWhenMinimized, true),
|
||||
#endif
|
||||
ConfigSetting("DumpDecryptedEboots", &g_Config.bDumpDecryptedEboot, false),
|
||||
ConfigSetting(false),
|
||||
|
||||
@@ -72,6 +72,7 @@ public:
|
||||
bool bTopMost;
|
||||
std::string sFont;
|
||||
bool bIgnoreWindowsKey;
|
||||
bool bPauseWhenMinimized;
|
||||
#endif
|
||||
|
||||
#if !defined(MOBILE_DEVICE)
|
||||
|
||||
@@ -1097,7 +1097,7 @@ namespace MainWindow
|
||||
ResizeDisplay();
|
||||
break;
|
||||
case SIZE_MINIMIZED:
|
||||
Core_NotifyWindowHidden(true);
|
||||
Core_NotifyWindowHidden(g_Config.bPauseWhenMinimized);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user