Win32: Make pausing when minimizing optional in the ini.

This commit is contained in:
The Dax 2014-06-29 13:54:35 -04:00 committed by Henrik Rydgard
parent 9efefeb89c
commit 1fbd94d589
3 changed files with 3 additions and 1 deletions

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),

View File

@ -72,6 +72,7 @@ public:
bool bTopMost;
std::string sFont;
bool bIgnoreWindowsKey;
bool bPauseWhenMinimized;
#endif
#if !defined(MOBILE_DEVICE)

View File

@ -1097,7 +1097,7 @@ namespace MainWindow
ResizeDisplay();
break;
case SIZE_MINIMIZED:
Core_NotifyWindowHidden(true);
Core_NotifyWindowHidden(g_Config.bPauseWhenMinimized);
break;
default:
break;