aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/sdl/switch/switch.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/sdl/switch/switch.cpp b/backends/platform/sdl/switch/switch.cpp
index e859fdd125..77c8d56498 100644
--- a/backends/platform/sdl/switch/switch.cpp
+++ b/backends/platform/sdl/switch/switch.cpp
@@ -49,6 +49,7 @@ void OSystem_Switch::initBackend() {
ConfMan.registerDefault("fullscreen", true);
ConfMan.registerDefault("aspect_ratio", false);
ConfMan.registerDefault("gfx_mode", "2x");
+ ConfMan.registerDefault("filtering", true);
ConfMan.registerDefault("output_rate", 48000);
ConfMan.registerDefault("touchpad_mouse_mode", true);
@@ -64,6 +65,9 @@ void OSystem_Switch::initBackend() {
if (!ConfMan.hasKey("gfx_mode")) {
ConfMan.set("gfx_mode", "2x");
}
+ if (!ConfMan.hasKey("filtering")) {
+ ConfMan.setBool("filtering", true);
+ }
if (!ConfMan.hasKey("output_rate")) {
ConfMan.setInt("output_rate", 48000);
}