This commit is contained in:
Issac332 2026-07-28 23:01:34 +03:00
parent b9b77d30f8
commit 893167533f
1 changed files with 10 additions and 10 deletions

View File

@ -70,19 +70,19 @@ module Settings
end end
def SDL_HINT_INVALID_PARAM_CHECKS(value) def SDL_HINT_INVALID_PARAM_CHECKS(value)
if value if value
Sunshine.setSDLHint("SDL_HINT_INVALID_PARAM_CHECKS", "1") Sunshine.setSDLHint("SDL_HINT_INVALID_PARAM_CHECKS", "1")
else else
Sunshine.setSDLHint("SDL_HINT_INVALID_PARAM_CHECKS", "2") Sunshine.setSDLHint("SDL_HINT_INVALID_PARAM_CHECKS", "2")
end end
end end
def SDL_HINT_SHUTDOWN_DBUS_ON_QUIT(value) def SDL_HINT_SHUTDOWN_DBUS_ON_QUIT(value)
if value if value
Sunshine.setSDLHint("SDL_HINT_SHUTDOWN_DBUS_ON_QUIT", "1") Sunshine.setSDLHint("SDL_HINT_SHUTDOWN_DBUS_ON_QUIT", "1")
else else
Sunshine.setSDLHint("SDL_HINT_SHUTDOWN_DBUS_ON_QUIT", "0") Sunshine.setSDLHint("SDL_HINT_SHUTDOWN_DBUS_ON_QUIT", "0")
end end
end end
end end
end end