From 9cc4c42024080652d7f5cb9bd3039aed47c623d6 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 18 Apr 2014 23:55:31 +0200 Subject: KYRA: Extend HACK to select CD audio for Kyra2 TOWNS. Formerly we only checked track1.$EXT but we also support track01.$EXT. Guess this is a good example why we need to reconsider how we will handle detection of presense of CD audio tracks in general... --- engines/kyra/sound_towns.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp index 10cbc49c7c..725dedae3f 100644 --- a/engines/kyra/sound_towns.cpp +++ b/engines/kyra/sound_towns.cpp @@ -538,7 +538,8 @@ bool SoundTownsPC98_v2::init() { // check if we have access to CD audio. Resource *r = _vm->resource(); if (_musicEnabled && - (r->exists("track1.mp3") || r->exists("track1.ogg") || r->exists("track1.flac") || r->exists("track1.fla"))) + (r->exists("track1.mp3") || r->exists("track1.ogg") || r->exists("track1.flac") || r->exists("track1.fla") + || r->exists("track01.mp3") || r->exists("track01.ogg") || r->exists("track01.flac") || r->exists("track01.fla"))) _musicEnabled = 2; else _musicEnabled = 1; -- cgit v1.2.3