Check actual free disk space when games ask.

Windows only for the moment.
This commit is contained in:
Unknown W. Brackets committed 2014-11-01 00:33:19 -07:00
1 parent 763e5c9c4b
commit 2958c575a1
12 files changed
+79 -36

No files matched your search

+2
View File
@@ -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 {