mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Add submodules, namespace json to prepare for the addition of rapidjson (sigh)
This commit is contained in:
1 parent
42f4d7b40f
commit
eddaf97938
12 files changed
+42
-7
No files matched your search
@@ -2,6 +2,8 @@
|
||||
#include "file/vfs.h"
|
||||
#include "json/json_reader.h"
|
||||
|
||||
namespace json {
|
||||
|
||||
JsonReader::JsonReader(const std::string &filename) {
|
||||
size_t buf_size;
|
||||
buffer_ = (char *)VFSReadFile(filename.c_str(), &buf_size);
|
||||
@@ -117,3 +119,5 @@ bool JsonGet::getBool(const char *child_name, bool default_value) const {
|
||||
}
|
||||
return default_value;
|
||||
}
|
||||
|
||||
} // namespace json
|
||||
Reference in new issue
Block a user