mirror of
https://github.com/open-goal/jak-project
synced 2026-06-18 07:26:06 -04:00
revamp controller LED in jak 1 + reorganize some pc-settings things + fix some jak 2 decomp (#2719)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user