Win32: Make pausing when minimizing optional in the ini.

This commit is contained in:
The Dax authored and Henrik Rydgard committed 2014-07-21 10:30:51 +02:00
1 parent 9efefeb89c
commit 1fbd94d589
3 files changed
+3 -1

No files matched your search

+1
View File
@@ -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),
+1
View File
@@ -72,6 +72,7 @@ public:
bool bTopMost;
std::string sFont;
bool bIgnoreWindowsKey;
bool bPauseWhenMinimized;
#endif
#if !defined(MOBILE_DEVICE)
+1 -1
View File
@@ -1097,7 +1097,7 @@ namespace MainWindow
ResizeDisplay();
break;
case SIZE_MINIMIZED:
Core_NotifyWindowHidden(true);
Core_NotifyWindowHidden(g_Config.bPauseWhenMinimized);
break;
default:
break;