prevent screensaver (#1485)
This commit is contained in:
parent
88c1371a96
commit
5488e0bf3d
|
@ -3285,6 +3285,9 @@ int main(int argc, char** argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_JoystickEventState(SDL_ENABLE);
|
SDL_JoystickEventState(SDL_ENABLE);
|
||||||
|
|
||||||
|
SDL_InitSubSystem(SDL_INIT_VIDEO);
|
||||||
|
SDL_EnableScreenSaver(); SDL_DisableScreenSaver();
|
||||||
|
|
||||||
Config::Load();
|
Config::Load();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue