[Scummvm-git-logs] scummvm master -> 5fe3c560b62b5476f722214ac85116f961476b67
rsn8887
noreply at scummvm.org
Fri Feb 16 16:12:26 UTC 2024
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:
5fe3c560b6 BACKENDS: (Switch/PSP2) Fix General Midi device error
Commit: 5fe3c560b62b5476f722214ac85116f961476b67
https://github.com/scummvm/scummvm/commit/5fe3c560b62b5476f722214ac85116f961476b67
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2024-02-16T10:12:03-06:00
Commit Message:
BACKENDS: (Switch/PSP2) Fix General Midi device error
Changed paths:
backends/platform/sdl/psp2/psp2.cpp
backends/platform/sdl/switch/switch.cpp
diff --git a/backends/platform/sdl/psp2/psp2.cpp b/backends/platform/sdl/psp2/psp2.cpp
index fae1e73bee3..9c7e6d9cbfd 100644
--- a/backends/platform/sdl/psp2/psp2.cpp
+++ b/backends/platform/sdl/psp2/psp2.cpp
@@ -105,6 +105,7 @@ void OSystem_PSP2::initBackend() {
ConfMan.registerDefault("joystick_deadzone", 2);
ConfMan.registerDefault("touchpad_mouse_mode", false);
ConfMan.registerDefault("frontpanel_touchpad_mode", false);
+ ConfMan.registerDefault("gm_device", "null");
ConfMan.setBool("fullscreen", true);
diff --git a/backends/platform/sdl/switch/switch.cpp b/backends/platform/sdl/switch/switch.cpp
index 834748b4f74..023d4b7bafd 100644
--- a/backends/platform/sdl/switch/switch.cpp
+++ b/backends/platform/sdl/switch/switch.cpp
@@ -82,6 +82,7 @@ void OSystem_Switch::initBackend() {
ConfMan.registerDefault("filtering", true);
ConfMan.registerDefault("output_rate", 48000);
ConfMan.registerDefault("touchpad_mouse_mode", false);
+ ConfMan.registerDefault("gm_device", "null");
ConfMan.setBool("fullscreen", true);
ConfMan.setInt("joystick_num", 0);
More information about the Scummvm-git-logs
mailing list