mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
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:
1 parent
ee4c464305
commit
a53ecd7da3
8 files changed
+58
-13
No files matched your search
@@ -86,7 +86,7 @@ struct DirectoryFileHandle
|
||||
|
||||
class DirectoryFileSystem : public IFileSystem {
|
||||
public:
|
||||
DirectoryFileSystem(IHandleAllocator *_hAlloc, std::string _basePath);
|
||||
DirectoryFileSystem(IHandleAllocator *_hAlloc, std::string _basePath, int _flags = 0);
|
||||
~DirectoryFileSystem();
|
||||
|
||||
void CloseAll();
|
||||
@@ -108,6 +108,7 @@ public:
|
||||
int RenameFile(const std::string &from, const std::string &to);
|
||||
bool RemoveFile(const std::string &filename);
|
||||
bool GetHostPath(const std::string &inpath, std::string &outpath);
|
||||
int Flags() { return flags; }
|
||||
|
||||
private:
|
||||
struct OpenFileEntry {
|
||||
@@ -120,7 +121,7 @@ private:
|
||||
EntryMap entries;
|
||||
std::string basePath;
|
||||
IHandleAllocator *hAlloc;
|
||||
|
||||
int flags;
|
||||
// In case of Windows: Translate slashes, etc.
|
||||
std::string GetLocalPath(std::string localpath);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user