From da9e27361a845f78c7fcf3b15c7fb47a53c726bf Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 1 May 2013 15:06:09 +0200 Subject: KYRA: Fix missing music in Kyra 1 DOS intro. This is a regression from 93e69aa4da0558b05fc235684355ed38eed9863d. Thanks to eriktorbjorn to noticing that the music is missing. --- engines/kyra/staticres.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra') diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index bac31f0a3e..57a0f8dce8 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -818,7 +818,7 @@ void KyraEngine_LoK::initStaticResource() { for (int i = 0; i < soundFilesSize; i++) soundFiles[i] = (i < size1) ? soundfiles1[i] : soundfiles2[i - size1]; } - const char *const *soundFilesIntro = _staticres->loadStrings(k1AudioTracksIntro, temp); + const char *const *soundFilesIntro = _staticres->loadStrings(k1AudioTracksIntro, soundFilesIntroSize); const int32 *cdaTable = (const int32 *)_staticres->loadRawData(k1TownsCDATable, cdaTableSize); // FIXME: It seems Kyra1 MAC CD includes AdLib and MIDI music and sfx, thus we enable -- cgit v1.2.3