From 16bbc07690a48603e080699305d417379bc18cee Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 15 Sep 2011 17:30:35 +0200 Subject: 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. --- engines/gob/init_v6.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'engines/gob') 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); -- cgit v1.2.3