mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
prevent screensaver (#1485)
This commit is contained in:
@ -3286,6 +3286,9 @@ int main(int argc, char** argv)
|
||||
|
||||
SDL_JoystickEventState(SDL_ENABLE);
|
||||
|
||||
SDL_InitSubSystem(SDL_INIT_VIDEO);
|
||||
SDL_EnableScreenSaver(); SDL_DisableScreenSaver();
|
||||
|
||||
Config::Load();
|
||||
|
||||
#define SANITIZE(var, min, max) { var = std::clamp(var, min, max); }
|
||||
|
Reference in New Issue
Block a user