From 1403f9ffa235ddbdbee10efa04cc4081c0cfcd7c Mon Sep 17 00:00:00 2001 From: athrxx Date: Fri, 3 Jan 2020 01:58:29 +0100 Subject: KYRA: minor AdLib driver fix This commit extends a fix that was previously limited to the EOB games. It seems that the later games can also have situations where this becomes necessary (e. g. I noticed that the HOF title music went missing when aborting the intro via left click). --- engines/kyra/sound/drivers/adlib.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/kyra/sound/drivers') diff --git a/engines/kyra/sound/drivers/adlib.cpp b/engines/kyra/sound/drivers/adlib.cpp index de6b8a461a..4f4ae14047 100644 --- a/engines/kyra/sound/drivers/adlib.cpp +++ b/engines/kyra/sound/drivers/adlib.cpp @@ -245,8 +245,9 @@ void AdLibDriver::setupPrograms() { // next sound (with a lower priority) starts which will cause that sound to be skipped. We simply // restart incoming sounds during stop sound execution. // UPDATE: This stilly applies after introduction of the _programQueue. + // UPDATE: This can also happen with the HOF main menu, so I commented out the version < 3 limitation. QueueEntry retrySound; - if (_version < 3 && _programQueue[_programQueueStart].id == 0) + if (/*_version < 3 &&*/ _programQueue[_programQueueStart].id == 0) _retrySounds = true; else if (_retrySounds) retrySound = _programQueue[_programQueueStart]; -- cgit v1.2.3