mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Implemented a "Pause When Not Focused" menu option (default false). Pause toggle overrides this.
This commit is contained in:
1 parent
fc8aa7bd8f
commit
1116b59910
5 files changed
+356
-290
No files matched your search
@@ -86,6 +86,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename)
|
||||
general->Get("WindowY", &iWindowY, 100);
|
||||
general->Get("WindowWidth", &iWindowWidth, 0); // 0 will be automatically reset later (need to do the AdjustWindowRect dance).
|
||||
general->Get("WindowHeight", &iWindowHeight, 0);
|
||||
general->Get("PauseOnLostFocus", &bPauseOnLostFocus, false);
|
||||
#endif
|
||||
|
||||
IniFile::Section *recent = iniFile.GetOrCreateSection("Recent");
|
||||
@@ -287,6 +288,7 @@ void Config::Save() {
|
||||
general->Set("WindowY", iWindowY);
|
||||
general->Set("WindowWidth", iWindowWidth);
|
||||
general->Set("WindowHeight", iWindowHeight);
|
||||
general->Set("PauseOnLostFocus", bPauseOnLostFocus);
|
||||
#endif
|
||||
general->Set("Language", sLanguageIni);
|
||||
general->Set("NumWorkerThreads", iNumWorkerThreads);
|
||||
|
||||
Reference in new issue
Block a user