[Scummvm-git-logs] scummvm master -> 655fea4a6f27fcab34b40d8bdb9623282ffd8ee4

rsn8887 rsn8887 at users.noreply.github.com
Thu May 23 17:07:45 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
655fea4a6f SWITCH: Enable gfx filtering by default for better image quality


Commit: 655fea4a6f27fcab34b40d8bdb9623282ffd8ee4
    https://github.com/scummvm/scummvm/commit/655fea4a6f27fcab34b40d8bdb9623282ffd8ee4
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2019-05-23T10:07:11-05:00

Commit Message:
SWITCH: Enable gfx filtering by default for better image quality

Changed paths:
    backends/platform/sdl/switch/switch.cpp


diff --git a/backends/platform/sdl/switch/switch.cpp b/backends/platform/sdl/switch/switch.cpp
index e859fdd..77c8d56 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);
 	}





More information about the Scummvm-git-logs mailing list