More elegant way of solving #5839 (d_private in sceIoDread)

We flag filesystems as being FAT32 instead of checking for "ms0:".
This commit is contained in:
Henrik Rydgard committed 2014-04-13 23:22:17 +02:00
1 parent ee4c464305
commit a53ecd7da3
8 files changed
+58 -13

No files matched your search

+2
View File
@@ -54,6 +54,7 @@ public:
void Remount(IFileSystem *oldSystem, IFileSystem *newSystem);
IFileSystem *GetSystem(const std::string &prefix);
IFileSystem *GetSystemFromFilename(const std::string &filename);
void ThreadEnded(int threadID);
@@ -106,6 +107,7 @@ public:
virtual bool RemoveFile(const std::string &filename);
virtual int Ioctl(u32 handle, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 outlen, int &usec);
virtual int DevType(u32 handle);
virtual int Flags() { return 0; }
// Convenience helper - returns < 0 on failure.
int ReadEntireFile(const std::string &filename, std::vector<u8> &data);