mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 09:09:49 +00:00
Make the ini tweak available for everybody.
This commit is contained in:
parent
8a78f5e814
commit
9af40da53e
@ -309,8 +309,8 @@ 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("PauseWhenMinimized", &g_Config.bPauseWhenMinimized, true),
|
||||
ConfigSetting("DumpDecryptedEboots", &g_Config.bDumpDecryptedEboot, false),
|
||||
ConfigSetting(false),
|
||||
};
|
||||
|
@ -72,9 +72,10 @@ public:
|
||||
bool bTopMost;
|
||||
std::string sFont;
|
||||
bool bIgnoreWindowsKey;
|
||||
bool bPauseWhenMinimized;
|
||||
#endif
|
||||
|
||||
bool bPauseWhenMinimized;
|
||||
|
||||
#if !defined(MOBILE_DEVICE)
|
||||
bool bPauseExitsEmulator;
|
||||
#endif
|
||||
|
@ -135,7 +135,7 @@ void UpdateScreenScale(int width, int height) {
|
||||
}
|
||||
|
||||
void UpdateRunLoop() {
|
||||
if (windowHidden) {
|
||||
if (windowHidden && g_Config.bPauseWhenMinimized) {
|
||||
sleep_ms(16);
|
||||
return;
|
||||
}
|
||||
|
@ -1100,7 +1100,7 @@ namespace MainWindow
|
||||
ResizeDisplay();
|
||||
break;
|
||||
case SIZE_MINIMIZED:
|
||||
Core_NotifyWindowHidden(g_Config.bPauseWhenMinimized);
|
||||
Core_NotifyWindowHidden(true);
|
||||
if (!g_Config.bPauseWhenMinimized) {
|
||||
NativeMessageReceived("window minimized", "true");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user