aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/init_v6.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-09-15 17:30:35 +0200
committerSven Hesse2011-09-15 17:36:55 +0200
commit16bbc07690a48603e080699305d417379bc18cee (patch)
tree16d8972b353456936e312c7f1875736ab00e7271 /engines/gob/init_v6.cpp
parent559d40a643fd69c0befdcb494c6a61872cf74248 (diff)
downloadscummvm-rg350-16bbc07690a48603e080699305d417379bc18cee.tar.gz
scummvm-rg350-16bbc07690a48603e080699305d417379bc18cee.tar.bz2
scummvm-rg350-16bbc07690a48603e080699305d417379bc18cee.zip
GOB: Don't explicitly open CD1.ITK for Urban Runner
CD1.ITK is the one CD archive file the Urban Runner scripts open themselves in NO_CD mode. Since the PSP has extremely limited file handles, having that archive opened twice makes the load code fail on that device. Hopefully, the scripts don't decide to close and not reopend CD1.ITK in places where it's needed. A full playthrough with loading/saving between screens (especially across CD content borders, and during death screens) would probably be prudent.
Diffstat (limited to 'engines/gob/init_v6.cpp')
-rw-r--r--engines/gob/init_v6.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/gob/init_v6.cpp b/engines/gob/init_v6.cpp
index 947556835a..b8b255a6bf 100644
--- a/engines/gob/init_v6.cpp
+++ b/engines/gob/init_v6.cpp
@@ -48,7 +48,6 @@ void Init_v6::initGame() {
// (it checks CD1.ITK - CD4.ITK and the first that's found determines
// the CD number), while its NO_CD modus wants everything in CD1.ITK.
// So we just open the other ITKs, too.
- _vm->_dataIO->openArchive("CD1.ITK", false);
_vm->_dataIO->openArchive("CD2.ITK", false);
_vm->_dataIO->openArchive("CD3.ITK", false);
_vm->_dataIO->openArchive("CD4.ITK", false);