mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Check actual free disk space when games ask.
Windows only for the moment.
This commit is contained in:
1 parent
763e5c9c4b
commit
2958c575a1
12 files changed
+79
-36
No files matched your search
@@ -109,6 +109,7 @@ public:
|
||||
bool RemoveFile(const std::string &filename);
|
||||
bool GetHostPath(const std::string &inpath, std::string &outpath);
|
||||
int Flags() { return flags; }
|
||||
u64 FreeSpace(const std::string &path) override;
|
||||
|
||||
private:
|
||||
struct OpenFileEntry {
|
||||
@@ -151,6 +152,7 @@ public:
|
||||
bool RemoveFile(const std::string &filename);
|
||||
bool GetHostPath(const std::string &inpath, std::string &outpath);
|
||||
int Flags() { return 0; }
|
||||
u64 FreeSpace(const std::string &path) override { return 0; }
|
||||
|
||||
private:
|
||||
struct OpenFileEntry {
|
||||
|
||||
Reference in new issue
Block a user