mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 16:19:44 +00:00
Win32: Make pausing when minimizing optional in the ini.
This commit is contained in:
parent
9efefeb89c
commit
1fbd94d589
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user