prevent screensaver (#1485)

This commit is contained in:
pepper-jelly 2022-11-12 01:18:28 +03:00 committed by GitHub
parent 88c1371a96
commit 5488e0bf3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -3285,6 +3285,9 @@ int main(int argc, char** argv)
}
SDL_JoystickEventState(SDL_ENABLE);
SDL_InitSubSystem(SDL_INIT_VIDEO);
SDL_EnableScreenSaver(); SDL_DisableScreenSaver();
Config::Load();