[Scummvm-cvs-logs] CVS: scummvm/backends/fs/palmos palmos-fs.cpp,1.9,1.10

Chris Apers chrilith at users.sourceforge.net
Sat Sep 3 09:20:19 CEST 2005


Update of /cvsroot/scummvm/scummvm/backends/fs/palmos
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28627

Modified Files:
	palmos-fs.cpp 
Log Message:
Change PalmOS ident

Index: palmos-fs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/fs/palmos/palmos-fs.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- palmos-fs.cpp	30 Jul 2005 21:10:51 -0000	1.9
+++ palmos-fs.cpp	3 Sep 2005 16:19:05 -0000	1.10
@@ -18,10 +18,10 @@
  * $Header$
  */
 
-#if defined(__PALMOS_TRAPS__)
+#if defined(PALMOS_MODE)
 
 #include "common/stdafx.h"
-#include "../fs.h"
+#include "fs/fs.h"
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -36,7 +36,7 @@
 	bool _isValid;
 	bool _isPseudoRoot;
 	String _path;
-
+	
 public:
 	PalmOSFilesystemNode();
 	PalmOSFilesystemNode(const Char *path);
@@ -71,7 +71,7 @@
 	if (entry._isDirectory)
 		entry._path += "/";
 
-	entry._isValid = true;
+	entry._isValid = true;	
 	entry._isPseudoRoot = false;
 	list.push_back(wrap(new PalmOSFilesystemNode(&entry)));
 }
@@ -107,11 +107,11 @@
 
 	desc.nameP = nameP;
 	desc.nameBufLen = 256;
-	e = VFSFileOpen(gVars->volRefNum, _path.c_str(), vfsModeRead, &handle);
+	e = VFSFileOpen(gVars->VFS.volRefNum, _path.c_str(), vfsModeRead, &handle);
 
 	if (e)
 		return myList;
-
+	
 	while(dirIterator != expIteratorStop) {
 		e = VFSDirEntryEnumerate(handle, &dirIterator, &desc);
 		if (!e) {
@@ -137,11 +137,11 @@
 
 AbstractFilesystemNode *PalmOSFilesystemNode::parent() const {
 	PalmOSFilesystemNode *p = 0;
-
+	
 	if (!_isPseudoRoot) {
 		const char *start = _path.c_str();
 		const char *end = lastPathComponent(_path);
-
+	
 		p = new PalmOSFilesystemNode();
 		p->_path = String(start, end - start);
 		p->_isValid = true;
@@ -152,4 +152,4 @@
 	return p;
 }
 
-#endif // __PALMOS_TRAPS__
+#endif // PALMOS_MODE





More information about the Scummvm-git-logs mailing list