aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/music.cpp
diff options
context:
space:
mode:
authorScott Thomas2011-04-20 22:22:13 +0930
committerScott Thomas2011-04-20 23:40:01 +0930
commit2cc7b80b34d4e8fe9108a785dd940b1cd22910c4 (patch)
treec2ee114a93777194b765a3b09a6fe776b0a9ea9b /engines/groovie/music.cpp
parent3f124ae6bb77865a24dd84110a2d8008741b1d73 (diff)
downloadscummvm-rg350-2cc7b80b34d4e8fe9108a785dd940b1cd22910c4.tar.gz
scummvm-rg350-2cc7b80b34d4e8fe9108a785dd940b1cd22910c4.tar.bz2
scummvm-rg350-2cc7b80b34d4e8fe9108a785dd940b1cd22910c4.zip
GROOVIE: Set some T7G iOS m4a files to loop based on DOS XMI looping
Diffstat (limited to 'engines/groovie/music.cpp')
-rw-r--r--engines/groovie/music.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/engines/groovie/music.cpp b/engines/groovie/music.cpp
index 24306c8bfd..03e17d567f 100644
--- a/engines/groovie/music.cpp
+++ b/engines/groovie/music.cpp
@@ -790,6 +790,34 @@ bool MusicPlayerMPEG4::load(uint32 fileref, bool loop) {
uint len = info.filename.size();
if (len < 4)
return false; // This shouldn't actually occur
+ /*
+ 19462 door
+ 19463 ??
+ 19464 ??
+ 19465 puzzle?
+ 19466 cake
+ 19467 maze
+ 19468 ambient (but not 69, amb b. odd)
+ 19470 puzzle
+ 19471
+ 19473
+ 19475 coffins or blood pump
+ 19476 blood pump or coffins
+ 19493
+ 19499 chapel
+ 19509 downstair ambient
+ 19510 bedroom 'skip 3 and 5' puzzle (should loop from partway?)
+ 19514
+ 19515 bathroom drain teeth
+ */
+ if ((fileref >= 19462 && fileref <= 19468) ||
+ fileref == 19470 || fileref == 19471 ||
+ fileref == 19473 || fileref == 19475 ||
+ fileref == 19476 || fileref == 19493 ||
+ fileref == 19499 || fileref == 19509 ||
+ fileref == 19510 || fileref == 19514 ||
+ fileref == 19515)
+ loop = true; // XMIs for these refs self-loop
// iOS port provides alternative intro sequence music
if (info.filename == "gu39.xmi") {