[Scummvm-git-logs] scummvm master -> 24a8a820ea3232f8568440c820e7661740e8fd9b

mikrosk noreply at scummvm.org
Fri Mar 20 15:48:34 UTC 2026


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

Summary:
24a8a820ea BACKENDS: ATARI: Use "null" instead of "stmidi" as Lite default


Commit: 24a8a820ea3232f8568440c820e7661740e8fd9b
    https://github.com/scummvm/scummvm/commit/24a8a820ea3232f8568440c820e7661740e8fd9b
Author: Miro Kropacek (miro.kropacek at gmail.com)
Date: 2026-03-21T01:48:28+10:00

Commit Message:
BACKENDS: ATARI: Use "null" instead of "stmidi" as Lite default

When a game uses OPL and ST MIDI is selected, it automatically switches
to an OPL driver (which is prohibitively expensive for the 68030).
"null" disables the OPL and the user is free to select ST MIDI for any
game which supports it.

Changed paths:
    backends/platform/atari/osystem_atari.cpp
    backends/platform/atari/readme.txt
    backends/platform/atari/readme.txt.in


diff --git a/backends/platform/atari/osystem_atari.cpp b/backends/platform/atari/osystem_atari.cpp
index a997ba76cd0..222e77559ff 100644
--- a/backends/platform/atari/osystem_atari.cpp
+++ b/backends/platform/atari/osystem_atari.cpp
@@ -327,17 +327,10 @@ void OSystem_Atari::initBackend() {
 	atariEventSource->setGraphicsManager(atariGraphicsManager);
 
 #ifdef DISABLE_FANCY_THEMES
-	// On the lite build force "STMIDI" as the audio driver, i.e. do not attempt
-	// to emulate anything by default. That prevents mixing silence and enable
-	// us to stop DMA playback which takes unnecessary cycles.
+	// On the lite build force "null" as the audio driver, i.e. do not attempt
+	// to emulate anything by default.
 	if (!ConfMan.hasKey("music_driver")) {
-		ConfMan.set("music_driver", "stmidi");
-	}
-	if (!ConfMan.hasKey("gm_device")) {
-		ConfMan.set("gm_device", "auto");
-	}
-	if (!ConfMan.hasKey("mt32_device")) {
-		ConfMan.set("mt32_device", "auto");
+		ConfMan.set("music_driver", "null");
 	}
 #endif
 
diff --git a/backends/platform/atari/readme.txt b/backends/platform/atari/readme.txt
index c31ad8d11ef..abd0b9308a6 100644
--- a/backends/platform/atari/readme.txt
+++ b/backends/platform/atari/readme.txt
@@ -97,8 +97,10 @@ features but also improves performance and reduces executable size.
 
 - Overlay doesn't support alternative themes => faster loading time.
 
-- "STMIDI" driver is automatically enabled (i.e. MIDI emulation is never used
-  but still allows playing speech/sfx samples and/or CD audio).
+- "null" music driver is automatically enabled (i.e. MIDI/OPL emulation is never
+  used but still allows playing speech/sfx samples and/or CD audio).
+
+- DOSBox OPL emulator is disabled => smaller executable size.
 
 FireBee package
 ~~~~~~~~~~~~~~~
diff --git a/backends/platform/atari/readme.txt.in b/backends/platform/atari/readme.txt.in
index 48e4c756293..23b9d235cbe 100644
--- a/backends/platform/atari/readme.txt.in
+++ b/backends/platform/atari/readme.txt.in
@@ -97,8 +97,10 @@ features but also improves performance and reduces executable size.
 
 - Overlay doesn't support alternative themes => faster loading time.
 
-- "STMIDI" driver is automatically enabled (i.e. MIDI emulation is never used
-  but still allows playing speech/sfx samples and/or CD audio).
+- "null" music driver is automatically enabled (i.e. MIDI/OPL emulation is never
+  used but still allows playing speech/sfx samples and/or CD audio).
+
+- DOSBox OPL emulator is disabled => smaller executable size.
 
 FireBee package
 ~~~~~~~~~~~~~~~




More information about the Scummvm-git-logs mailing list