aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorScott Thomas2011-04-11 19:33:01 +0930
committerScott Thomas2011-04-11 19:33:01 +0930
commit2e59957471e8ee0fa541811c3a50c68715d8798a (patch)
tree056e34d3f2231c3dfb4f965da39aef10234cc349 /engines
parent412a152e6bd64e70d82a9a8820face2e7204f127 (diff)
downloadscummvm-rg350-2e59957471e8ee0fa541811c3a50c68715d8798a.tar.gz
scummvm-rg350-2e59957471e8ee0fa541811c3a50c68715d8798a.tar.bz2
scummvm-rg350-2e59957471e8ee0fa541811c3a50c68715d8798a.zip
GROOVIE: T7G iOS isn't a CD game - don't check or prompt user
Diffstat (limited to 'engines')
-rw-r--r--engines/groovie/groovie.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp
index 47070cc086..552aec6128 100644
--- a/engines/groovie/groovie.cpp
+++ b/engines/groovie/groovie.cpp
@@ -227,17 +227,19 @@ Common::Error GroovieEngine::run() {
_script->directGameLoad(slot);
}
- // Check that the game files and the audio tracks aren't together run from
- // the same cd
- checkCD();
-
// Game timer counter
uint16 tmr = 0;
- // Initialize the CD
- int cd_num = ConfMan.getInt("cdrom");
- if (cd_num >= 0)
- _system->getAudioCDManager()->openCD(cd_num);
+ // Check that the game files and the audio tracks aren't together run from
+ // the same cd
+ if (getPlatform() != Common::kPlatformIOS) {
+ checkCD();
+
+ // Initialize the CD
+ int cd_num = ConfMan.getInt("cdrom");
+ if (cd_num >= 0)
+ _system->getAudioCDManager()->openCD(cd_num);
+ }
while (!shouldQuit()) {
// Give the debugger a chance to act