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.
This commit is contained in:
Miro Kropacek
2026-03-21 01:48:28 +10:00
parent 3e77031955
commit 24a8a820ea
3 changed files with 11 additions and 14 deletions
+3 -10
View File
@@ -327,17 +327,10 @@ void OSystem_Atari::initBackend() {
atariEventSource->setGraphicsManager(atariGraphicsManager); atariEventSource->setGraphicsManager(atariGraphicsManager);
#ifdef DISABLE_FANCY_THEMES #ifdef DISABLE_FANCY_THEMES
// On the lite build force "STMIDI" as the audio driver, i.e. do not attempt // On the lite build force "null" as the audio driver, i.e. do not attempt
// to emulate anything by default. That prevents mixing silence and enable // to emulate anything by default.
// us to stop DMA playback which takes unnecessary cycles.
if (!ConfMan.hasKey("music_driver")) { if (!ConfMan.hasKey("music_driver")) {
ConfMan.set("music_driver", "stmidi"); ConfMan.set("music_driver", "null");
}
if (!ConfMan.hasKey("gm_device")) {
ConfMan.set("gm_device", "auto");
}
if (!ConfMan.hasKey("mt32_device")) {
ConfMan.set("mt32_device", "auto");
} }
#endif #endif
+4 -2
View File
@@ -97,8 +97,10 @@ features but also improves performance and reduces executable size.
- Overlay doesn't support alternative themes => faster loading time. - Overlay doesn't support alternative themes => faster loading time.
- "STMIDI" driver is automatically enabled (i.e. MIDI emulation is never used - "null" music driver is automatically enabled (i.e. MIDI/OPL emulation is never
but still allows playing speech/sfx samples and/or CD audio). used but still allows playing speech/sfx samples and/or CD audio).
- DOSBox OPL emulator is disabled => smaller executable size.
FireBee package FireBee package
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
+4 -2
View File
@@ -97,8 +97,10 @@ features but also improves performance and reduces executable size.
- Overlay doesn't support alternative themes => faster loading time. - Overlay doesn't support alternative themes => faster loading time.
- "STMIDI" driver is automatically enabled (i.e. MIDI emulation is never used - "null" music driver is automatically enabled (i.e. MIDI/OPL emulation is never
but still allows playing speech/sfx samples and/or CD audio). used but still allows playing speech/sfx samples and/or CD audio).
- DOSBox OPL emulator is disabled => smaller executable size.
FireBee package FireBee package
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~