mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
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...
This commit is contained in:
parent
23f15c754f
commit
9cc4c42024
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user