aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJochen Hoenicke2003-08-17 19:31:10 +0000
committerJochen Hoenicke2003-08-17 19:31:10 +0000
commitd1391b8f2d9c82bd4dfe602dd82a13141301fc48 (patch)
tree676b7a3b0e30b29f76e5d991105ed726b15f7f7d /backends
parent1bb575da9df8f02fc0246b1e0aad077e995389b2 (diff)
downloadscummvm-rg350-d1391b8f2d9c82bd4dfe602dd82a13141301fc48.tar.gz
scummvm-rg350-d1391b8f2d9c82bd4dfe602dd82a13141301fc48.tar.bz2
scummvm-rg350-d1391b8f2d9c82bd4dfe602dd82a13141301fc48.zip
Changed adlib note priorities for small header games
svn-id: r9746
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/adlib.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp
index 59b50aa2ef..c1559d0765 100644
--- a/backends/midi/adlib.cpp
+++ b/backends/midi/adlib.cpp
@@ -1355,6 +1355,10 @@ AdlibVoice *MidiDriver_ADLIB::allocate_voice(byte pri) {
}
}
+ /* V3 games don't have note priorities, first comes wins. */
+ if (_game_SmallHeader)
+ return NULL;
+
if (best)
mc_off(best);
return best;