Attempt to virtually handle truncation properly.

Fixes LittleBigPlanet save problem, at least on US.
This commit is contained in:
Unknown W. Brackets committed 2014-02-15 10:34:38 -08:00
1 parent 9293bb17b9
commit cff6ad6428
2 files changed
+49 -5

No files matched your search

+3
View File
@@ -64,6 +64,8 @@ struct DirectoryFileHandle
#else
int hFile;
#endif
s64 needsTrunc_;
DirectoryFileHandle()
{
#ifdef _WIN32
@@ -71,6 +73,7 @@ struct DirectoryFileHandle
#else
hFile = -1;
#endif
needsTrunc_ = -1;
}
std::string GetLocalPath(std::string& basePath, std::string localpath);