[Scummvm-cvs-logs] CVS: scummvm/backends/fs/ps2 ps2-fs.cpp,1.3.2.1,1.3.2.2
Robert Göffringmann
lavosspawn at users.sourceforge.net
Tue Oct 25 00:00:32 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/ps2 DmaPipe.cpp,1.4.2.1,1.4.2.2 DmaPipe.h,1.3.2.1,1.3.2.2 Gs2dScreen.cpp,1.5.2.1,1.5.2.2 Gs2dScreen.h,1.5.2.1,1.5.2.2 GsDefs.h,1.4.2.1,1.4.2.2 asyncfio.cpp,1.5.2.1,1.5.2.2 asyncfio.h,1.4.2.1,1.4.2.2 fileio.cpp,1.4.2.1,1.4.2.2 fileio.h,1.5.2.1,1.5.2.2 icon.cpp,1.3.2.1,1.3.2.2 ps2input.cpp,1.4.2.1,1.4.2.2 ps2input.h,1.3.2.1,1.3.2.2 ps2pad.cpp,1.5.2.1,1.5.2.2 ps2pad.h,1.3.2.1,1.3.2.2 savefile.cpp,1.6.2.1,1.6.2.2 savefile.h,1.5.2.1,1.5.2.2 sysdefs.h,1.3.2.1,1.3.2.2 systemps2.cpp,1.8.2.1,1.8.2.2 systemps2.h,1.7.2.1,1.7.2.2 smushio.cpp,1.2.2.1,NONE
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.43.2.1,1.43.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/backends/fs/ps2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28895/backends/fs/ps2
Modified Files:
Tag: branch-0-8-0
ps2-fs.cpp
Log Message:
various ps2 changes
Index: ps2-fs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/fs/ps2/ps2-fs.cpp,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -d -r1.3.2.1 -r1.3.2.2
--- ps2-fs.cpp 18 Oct 2005 02:11:16 -0000 1.3.2.1
+++ ps2-fs.cpp 25 Oct 2005 06:57:21 -0000 1.3.2.2
@@ -24,7 +24,7 @@
#include <stdlib.h>
#include <cdvd_rpc.h>
-#define MAX_LIST_ENTRIES 64
+#define MAX_LIST_ENTRIES 512
class Ps2FilesystemNode : public AbstractFilesystemNode {
protected:
@@ -86,8 +86,7 @@
assert(_isDirectory);
FSList myList;
-
- struct TocEntry tocEntries[MAX_LIST_ENTRIES];
+ struct TocEntry *tocEntries = (struct TocEntry*)malloc(MAX_LIST_ENTRIES * sizeof(struct TocEntry));
int files;
char listDir[512];
sprintf(listDir, "%s/", _path.c_str() + 5);
@@ -118,6 +117,7 @@
myList.push_back(wrap(new Ps2FilesystemNode(&dirEntry)));
}
}
+ free(tocEntries);
return myList;
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/ps2 DmaPipe.cpp,1.4.2.1,1.4.2.2 DmaPipe.h,1.3.2.1,1.3.2.2 Gs2dScreen.cpp,1.5.2.1,1.5.2.2 Gs2dScreen.h,1.5.2.1,1.5.2.2 GsDefs.h,1.4.2.1,1.4.2.2 asyncfio.cpp,1.5.2.1,1.5.2.2 asyncfio.h,1.4.2.1,1.4.2.2 fileio.cpp,1.4.2.1,1.4.2.2 fileio.h,1.5.2.1,1.5.2.2 icon.cpp,1.3.2.1,1.3.2.2 ps2input.cpp,1.4.2.1,1.4.2.2 ps2input.h,1.3.2.1,1.3.2.2 ps2pad.cpp,1.5.2.1,1.5.2.2 ps2pad.h,1.3.2.1,1.3.2.2 savefile.cpp,1.6.2.1,1.6.2.2 savefile.h,1.5.2.1,1.5.2.2 sysdefs.h,1.3.2.1,1.3.2.2 systemps2.cpp,1.8.2.1,1.8.2.2 systemps2.h,1.7.2.1,1.7.2.2 smushio.cpp,1.2.2.1,NONE
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.43.2.1,1.43.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list