From 8800794f4d89f9f920a623dd39cd9d4cf370f827 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 17 Jul 2011 00:08:52 +0200 Subject: SCUMM: Clarify PC Speaker style sound resource handling with a comment. --- engines/scumm/sound.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines') diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp index 544abe6b1d..4d9086b22a 100644 --- a/engines/scumm/sound.cpp +++ b/engines/scumm/sound.cpp @@ -1142,6 +1142,9 @@ int ScummEngine::readSoundResource(ResId idx) { break; } + // We only allow SPK resources for PC Speaker, PCJr and CMS here + // since other resource would sound horribly with their output + // drivers. if ((_musicType == MDT_PCSPK || _musicType == MDT_PCJR || _musicType == MDT_CMS) && pri != 11) pri = -1; -- cgit v1.2.3