From bdf28ec52819d5946d07c40d47e94ceb1f26f577 Mon Sep 17 00:00:00 2001 From: water111 <48171810+water111@users.noreply.github.com> Date: Mon, 31 Jul 2023 21:49:20 -0400 Subject: [PATCH] [goalc] Sign extend objects when loading them (#2863) Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com> --- common/type_system/TypeSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/type_system/TypeSystem.cpp b/common/type_system/TypeSystem.cpp index 48436f4740..10ea6771a6 100644 --- a/common/type_system/TypeSystem.cpp +++ b/common/type_system/TypeSystem.cpp @@ -1017,7 +1017,7 @@ void TypeSystem::add_builtin_types(GameVersion version) { // OBJECT auto obj_type = add_type( - "object", std::make_unique("object", "object", false, 4, false, RegClass::GPR_64)); + "object", std::make_unique("object", "object", false, 4, true, RegClass::GPR_64)); auto structure_type = add_builtin_structure("object", "structure"); auto basic_type = add_builtin_basic("structure", "basic");