diff options
author | rsn8887 | 2019-05-23 10:07:11 -0500 |
---|---|---|
committer | rsn8887 | 2019-05-23 10:07:11 -0500 |
commit | 655fea4a6f27fcab34b40d8bdb9623282ffd8ee4 (patch) | |
tree | e563e4245a54ee77c982ccc3d6017d3f6fb1babc | |
parent | d78dd5c058d4fe86c428c88b9af0d83f0bafc19e (diff) | |
download | scummvm-rg350-655fea4a6f27fcab34b40d8bdb9623282ffd8ee4.tar.gz scummvm-rg350-655fea4a6f27fcab34b40d8bdb9623282ffd8ee4.tar.bz2 scummvm-rg350-655fea4a6f27fcab34b40d8bdb9623282ffd8ee4.zip |
SWITCH: Enable gfx filtering by default for better image quality
-rw-r--r-- | backends/platform/sdl/switch/switch.cpp | 4 |
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); } |