mirror of
https://github.com/open-goal/jak-project
synced 2026-06-03 10:32:08 -04:00
[goalc] Sign extend objects when loading them (#2863)
Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com>
This commit is contained in:
@@ -1017,7 +1017,7 @@ void TypeSystem::add_builtin_types(GameVersion version) {
|
||||
|
||||
// OBJECT
|
||||
auto obj_type = add_type(
|
||||
"object", std::make_unique<ValueType>("object", "object", false, 4, false, RegClass::GPR_64));
|
||||
"object", std::make_unique<ValueType>("object", "object", false, 4, true, RegClass::GPR_64));
|
||||
|
||||
auto structure_type = add_builtin_structure("object", "structure");
|
||||
auto basic_type = add_builtin_basic("structure", "basic");
|
||||
|
||||
Reference in New Issue
Block a user