[Scummvm-cvs-logs] CVS: scummvm/backends/ps2 fileio.cpp,1.4.2.3,1.4.2.4
Robert Göffringmann
lavosspawn at users.sourceforge.net
Wed Oct 26 11:10:02 CEST 2005
Update of /cvsroot/scummvm/scummvm/backends/ps2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21523/backends/ps2
Modified Files:
Tag: branch-0-8-0
fileio.cpp
Log Message:
forgot to remove this...
Index: fileio.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/ps2/fileio.cpp,v
retrieving revision 1.4.2.3
retrieving revision 1.4.2.4
diff -u -d -r1.4.2.3 -r1.4.2.4
--- fileio.cpp 26 Oct 2005 16:32:43 -0000 1.4.2.3
+++ fileio.cpp 26 Oct 2005 18:09:22 -0000 1.4.2.4
@@ -432,15 +432,10 @@
if (rdOnly && tocManager.haveEntries())
cacheId = tocManager.fileExists(fname);
- if (strchr(fname, ' '))
- return NULL;
-
if (cacheId != 0) {
Ps2File *file = findInCache(cacheId);
- if (file) {
- //sioprintf("open from cache: %s (%d) [%d]\n", fname, cacheId, file->_handle->_handle);
+ if (file)
return (FILE*)file;
- }
if (rdOnly) {
bool isAudioFile = strstr(fname, ".bun") || strstr(fname, ".BUN") || strstr(fname, ".Bun");
More information about the Scummvm-git-logs
mailing list