Using the GE debugger before launching a game was a crash. De-claude a bit in Kotcrab's code.

This commit is contained in:
Henrik Rydgård committed 2026-09-02 17:52:26 +02:00
1 parent c34f5000ab
commit 6fb7ba7b13
2 files changed
+32 -18

No files matched your search

-6
View File
@@ -81,9 +81,6 @@ bool GhidraClient::FetchSymbols() {
}
const JsonNode *entriesNode = reader.root().getArray("symbols");
if (!entriesNode) {
// Null for a missing key, a non-array value, or a root that isn't an object at all -
// so any JSON that parses but isn't what we expect. The getTag() check below it could
// never catch that, since getArray() already filtered by tag.
pendingResult_.error = "symbols is not an array";
return false;
}
@@ -115,9 +112,6 @@ bool GhidraClient::FetchTypes() {
}
const JsonNode *entriesNode = reader.root().getArray("types");
if (!entriesNode) {
// Null for a missing key, a non-array value, or a root that isn't an object at all -
// so any JSON that parses but isn't what we expect. The getTag() check below it could
// never catch that, since getArray() already filtered by tag.
pendingResult_.error = "types is not an array";
return false;
}