mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-22 18:59:04 +02:00
Add the ability to hide adhoc servers using a "hidden" entry in the json.
Useful when servers are temporarily down.
This commit is contained in:
1 parent
0ef16c2ef4
commit
61e76fcf68
9 files changed
+58
-7
No files matched your search
@@ -131,7 +131,7 @@ bool JsonGet::getBool(const char *child_name) const {
|
||||
return get(child_name)->value.getTag() == JSON_TRUE;
|
||||
}
|
||||
|
||||
bool JsonGet::getBool(const char *child_name, bool default_value) const {
|
||||
bool JsonGet::getBoolOr(const char *child_name, bool default_value) const {
|
||||
const JsonNode *val = get(child_name);
|
||||
if (val) {
|
||||
JsonTag tag = val->value.getTag();
|
||||
|
||||
Reference in new issue
Block a user