mirror of
https://github.com/scummvm/scummvm.git
synced 2026-05-21 05:40:43 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -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
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user