[goalc] Sign extend objects when loading them (#2863)

Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com>
This commit is contained in:
water111
2023-07-31 21:49:20 -04:00
committed by GitHub
parent 0adbe42995
commit bdf28ec528
+1 -1
View File
@@ -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");