From 655fea4a6f27fcab34b40d8bdb9623282ffd8ee4 Mon Sep 17 00:00:00 2001 From: rsn8887 Date: Thu, 23 May 2019 10:07:11 -0500 Subject: SWITCH: Enable gfx filtering by default for better image quality --- backends/platform/sdl/switch/switch.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends/platform/sdl/switch') 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); } -- cgit v1.2.3