Add option to pause emulation when focus is lost

Fixes #875
This commit is contained in:
WaluigiWare64
2021-01-22 17:35:13 +00:00
parent 8a3a8b7c68
commit faf7cf752d
6 changed files with 54 additions and 18 deletions

View File

@ -80,6 +80,8 @@ int EnableCheats;
int MouseHide;
int MouseHideSeconds;
int PauseLostFocus;
bool EnableJIT;
ConfigEntry PlatformConfigFile[] =
@ -188,8 +190,9 @@ ConfigEntry PlatformConfigFile[] =
{"EnableCheats", 0, &EnableCheats, 0, NULL, 0},
{"MouseHide", 0, &MouseHide, 0, NULL, 0},
{"MouseHide", 0, &MouseHide, 0, NULL, 0},
{"MouseHideSeconds", 0, &MouseHideSeconds, 5, NULL, 0},
{"PauseLostFocus", 0, &PauseLostFocus, 0, NULL, 0},
{"", -1, NULL, 0, NULL, 0}
};