[Scummvm-git-logs] scummvm master -> c62dd11cbbb6b59c584b45f9af793505f2eea293
bluegr
noreply at scummvm.org
Thu Mar 19 17:43:23 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:
c62dd11cbb SHERLOCK: Fall back to AdLib for General MIDI in Serrated Scalpel
Commit: c62dd11cbbb6b59c584b45f9af793505f2eea293
https://github.com/scummvm/scummvm/commit/c62dd11cbbb6b59c584b45f9af793505f2eea293
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2026-03-19T19:43:11+02:00
Commit Message:
SHERLOCK: Fall back to AdLib for General MIDI in Serrated Scalpel
The Case of the Serrated Scalpel apparently only has AdLib and Roland
MT-32 music. When requesting General MIDI (and not using an MT-32
device), you wouldn't get any music at all. Now it gives you AdLib
instead.
Changed paths:
engines/sherlock/music.cpp
diff --git a/engines/sherlock/music.cpp b/engines/sherlock/music.cpp
index 70f3f4ae50c..c45070d8bd4 100644
--- a/engines/sherlock/music.cpp
+++ b/engines/sherlock/music.cpp
@@ -260,6 +260,9 @@ Music::Music(SherlockEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) {
if (ConfMan.getBool("native_mt32")) {
_midiDriver = MidiDriver_MT32_create();
_musicType = MT_MT32;
+ } else {
+ _midiDriver = MidiDriver_SH_AdLib_create();
+ _musicType = MT_ADLIB;
}
break;
default:
More information about the Scummvm-git-logs
mailing list