Merge branch 'master' of github.com:water111/jak-project into w/jak3-decomp15

This commit is contained in:
water
2024-03-23 09:28:12 -04:00
121 changed files with 61349 additions and 1032 deletions
+5
View File
@@ -1530,6 +1530,11 @@ goos::Object bitfield_defs_print(const TypeSpec& type,
result.push_back(pretty_print::to_symbol(fmt::format(
":{} {}", def.field_name,
bitfield_defs_print(def.nested_field->field_type, def.nested_field->fields).print())));
} else if (def.is_float) {
float f;
memcpy(&f, &def.value, 4);
result.push_back(
pretty_print::to_symbol(fmt::format(":{} {}", def.field_name, float_to_string(f, true))));
} else {
result.push_back(
pretty_print::to_symbol(fmt::format(":{} #x{:x}", def.field_name, def.value)));