revamp controller LED in jak 1 + reorganize some pc-settings things + fix some jak 2 decomp (#2719)

This commit is contained in:
ManDude
2023-06-13 19:26:44 +01:00
committed by GitHub
parent 1eec021593
commit e2c84d7635
63 changed files with 1406 additions and 1226 deletions
+6 -1
View File
@@ -1428,7 +1428,12 @@ goos::Object decompile_structure(const TypeSpec& type,
// do nothing, the default is zero?
field_defs_out.emplace_back(field.name(), pretty_print::to_symbol("0"));
} else if (word.kind() == LinkedWord::SYM_PTR) {
if (word.symbol_name() == "#f" || word.symbol_name() == "#t") {
if (word.symbol_name() == "#f") {
field_defs_out.emplace_back(
field.name(), pretty_print::to_symbol(fmt::format("{}", word.symbol_name())));
} else if (!ts.tc(field.type(), TypeSpec("symbol"))) {
continue;
} else if (word.symbol_name() == "#t") {
field_defs_out.emplace_back(
field.name(), pretty_print::to_symbol(fmt::format("{}", word.symbol_name())));
} else {