From 4266e1c03c7d090476f216f5249708e3cf3ad586 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Thu, 13 Oct 2022 09:00:49 -0700 Subject: [PATCH] Rename CPVSVisAreaSet to CPVSAreaSet to match actual object name --- asm/WorldFormat/{CPVSVisAreaSet.s => CPVSAreaSet.s} | 7 +++---- configure.py | 2 +- obj_files.mk | 3 ++- 3 files changed, 6 insertions(+), 6 deletions(-) rename asm/WorldFormat/{CPVSVisAreaSet.s => CPVSAreaSet.s} (98%) diff --git a/asm/WorldFormat/CPVSVisAreaSet.s b/asm/WorldFormat/CPVSAreaSet.s similarity index 98% rename from asm/WorldFormat/CPVSVisAreaSet.s rename to asm/WorldFormat/CPVSAreaSet.s index 93e4db00..2bdf86f1 100644 --- a/asm/WorldFormat/CPVSVisAreaSet.s +++ b/asm/WorldFormat/CPVSAreaSet.s @@ -153,7 +153,7 @@ __ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii: /* 802AE5EC 002AB54C 48 06 7B B9 */ bl MakePVSVisOctree__13CPVSVisOctreeFPCci /* 802AE5F0 002AB550 38 7F 00 20 */ addi r3, r31, 0x20 /* 802AE5F4 002AB554 38 81 00 08 */ addi r4, r1, 8 -/* 802AE5F8 002AB558 48 00 00 39 */ bl sub_802ae630 +/* 802AE5F8 002AB558 48 00 00 39 */ bl __ct__13CPVSVisOctreeFR13CPVSVisOctree /* 802AE5FC 002AB55C 34 61 00 28 */ addic. r3, r1, 0x28 /* 802AE600 002AB560 41 82 00 18 */ beq lbl_802AE618 /* 802AE604 002AB564 88 03 00 00 */ lbz r0, 0(r3) @@ -169,8 +169,8 @@ lbl_802AE618: /* 802AE628 002AB588 38 21 00 60 */ addi r1, r1, 0x60 /* 802AE62C 002AB58C 4E 80 00 20 */ blr -.global sub_802ae630 -sub_802ae630: +.global __ct__13CPVSVisOctreeFR13CPVSVisOctree +__ct__13CPVSVisOctreeFR13CPVSVisOctree: /* 802AE630 002AB590 C0 04 00 00 */ lfs f0, 0(r4) /* 802AE634 002AB594 38 00 00 00 */ li r0, 0 /* 802AE638 002AB598 D0 03 00 00 */ stfs f0, 0(r3) @@ -216,4 +216,3 @@ lbl_803D6110: # ROM: 0x3D3110 .asciz "??(??)" .balign 4 - diff --git a/configure.py b/configure.py index d2a953cb..1633d7ca 100755 --- a/configure.py +++ b/configure.py @@ -406,7 +406,7 @@ LIBS = [ "WorldFormat/COBBTree", "WorldFormat/CCollidableOBBTree", "WorldFormat/CCollidableOBBTreeGroup", - "WorldFormat/CPVSVisAreaSet", + "WorldFormat/CPVSAreaSet", "WorldFormat/CAreaRenderOctTree", ], }, diff --git a/obj_files.mk b/obj_files.mk index ad343701..7be3d54a 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -368,7 +368,7 @@ WORLDFORMAT :=\ $(BUILD_DIR)/asm/WorldFormat/COBBTree.o\ $(BUILD_DIR)/asm/WorldFormat/CCollidableOBBTree.o\ $(BUILD_DIR)/asm/WorldFormat/CCollidableOBBTreeGroup.o\ - $(BUILD_DIR)/asm/WorldFormat/CPVSVisAreaSet.o\ + $(BUILD_DIR)/asm/WorldFormat/CPVSAreaSet.o\ $(BUILD_DIR)/asm/WorldFormat/CAreaRenderOctTree.o\ WEAPONS :=\ @@ -735,6 +735,7 @@ MSL_PPCEABI_BARE_H :=\ $(BUILD_DIR)/src/Runtime/locale.o\ $(BUILD_DIR)/src/Runtime/direct_io.o\ $(BUILD_DIR)/src/Runtime/file_io.o\ + $(BUILD_DIR)/src/Runtime/errno.o\ $(BUILD_DIR)/src/Runtime/FILE_POS.o\ $(BUILD_DIR)/asm/Runtime/mbstring.o\ $(BUILD_DIR)/src/Runtime/mem.o\