Skip to content

Commit

Permalink
prevent screensaver (melonDS-emu#1485)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepper-jelly authored Nov 11, 2022
1 parent 88c1371 commit 5488e0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/frontend/qt_sdl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 5488e0b

Please sign in to comment.