commit 7853a988da736ee220c1bfef87c54903552c25fa
parent c0d36c3c4c2c81848fa95d56f78ef588a86f10eb
Author: Aleksandr Pasechnik <al@megamicron.net>
Date: Tue, 8 Jul 2025 15:27:21 -0400
do not block screensaver on behalf of uxnemu
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/uxnemu.c b/src/uxnemu.c
@@ -257,6 +257,7 @@ emu_init_audio(void)
static int
emu_init(void)
{
+ SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1");
if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_JOYSTICK) < 0)
return system_error("sdl", SDL_GetError());
emu_init_audio();