mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Turn the VFS into a class, to be able to reuse it for other purposes.
This commit is contained in:
1 parent
ebd8a63914
commit
3b39e9e068
29 files changed
+106
-95
No files matched your search
@@ -8,7 +8,7 @@ namespace json {
|
||||
|
||||
JsonReader::JsonReader(const std::string &filename) {
|
||||
size_t buf_size;
|
||||
buffer_ = (char *)VFSReadFile(filename.c_str(), &buf_size);
|
||||
buffer_ = (char *)g_VFS.ReadFile(filename.c_str(), &buf_size);
|
||||
if (buffer_) {
|
||||
parse();
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user