aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2006-02-21 16:15:07 +0000
committerEugene Sandulenko2006-02-21 16:15:07 +0000
commit6011d302c3b8f6670d63570bf5ec3db0fbb880fa (patch)
treea4fe5b8f45757b135afe79a547593313daccc536 /engines
parent08a57f08376cffd5007f216917969bef48a343bb (diff)
downloadscummvm-rg350-6011d302c3b8f6670d63570bf5ec3db0fbb880fa.tar.gz
scummvm-rg350-6011d302c3b8f6670d63570bf5ec3db0fbb880fa.tar.bz2
scummvm-rg350-6011d302c3b8f6670d63570bf5ec3db0fbb880fa.zip
Fix crash on floppy version of gob2
svn-id: r20807
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/game.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp
index 86544f0906..760ed549b1 100644
--- a/engines/gob/game.cpp
+++ b/engines/gob/game.cpp
@@ -430,6 +430,11 @@ void Game::interLoadSound(int16 slot) {
_soundFromExt[slot] = 0;
}
+ if (_vm->_features & Gob::GF_GOB2) {
+ warning("STUB: interLoadSound());
+ return;
+ }
+
loadSound(slot, dataPtr);
}