Make the ini tweak available for everybody.

This commit is contained in:
The Dax authored and Henrik Rydgard committed 2014-07-21 10:30:52 +02:00
1 parent 8a78f5e814
commit 9af40da53e
4 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -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),
};
+2 -1
View File
@@ -72,9 +72,10 @@ public:
bool bTopMost;
std::string sFont;
bool bIgnoreWindowsKey;
bool bPauseWhenMinimized;
#endif
bool bPauseWhenMinimized;
#if !defined(MOBILE_DEVICE)
bool bPauseExitsEmulator;
#endif
+1 -1
View File
@@ -135,7 +135,7 @@ void UpdateScreenScale(int width, int height) {
}
void UpdateRunLoop() {
if (windowHidden) {
if (windowHidden && g_Config.bPauseWhenMinimized) {
sleep_ms(16);
return;
}
+1 -1
View File
@@ -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");
}