From 0c43a0301375913e192a9c1931d7cf76faf091cf Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 25 Sep 2020 17:08:12 -0400 Subject: split snd_Sound3DListener.s --- asm/nw4r/snd/snd_Sound3DListener.s | 11 +++++++++++ asm/text_10_6.s | 8 -------- obj_files.mk | 1 + 3 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 asm/nw4r/snd/snd_Sound3DListener.s diff --git a/asm/nw4r/snd/snd_Sound3DListener.s b/asm/nw4r/snd/snd_Sound3DListener.s new file mode 100644 index 0000000..00cb862 --- /dev/null +++ b/asm/nw4r/snd/snd_Sound3DListener.s @@ -0,0 +1,11 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80006980 - 0x803E1E60 + +.global __ct__Q34nw4r3snd15Sound3DListenerFv +__ct__Q34nw4r3snd15Sound3DListenerFv: +/* 80376568 003721C8 C0 02 A6 F8 */ lfs f0, lbl_80642CF8-_SDA2_BASE_(r2) +/* 8037656C 003721CC D0 03 00 30 */ stfs f0, 0x30(r3) +/* 80376570 003721D0 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 80376574 003721D4 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 80376578 003721D8 4E 80 00 20 */ blr diff --git a/asm/text_10_6.s b/asm/text_10_6.s index 0129791..1a928b7 100644 --- a/asm/text_10_6.s +++ b/asm/text_10_6.s @@ -2,14 +2,6 @@ .section .text, "ax" # 0x80006980 - 0x803E1E60 -.global __ct__Q34nw4r3snd15Sound3DListenerFv -__ct__Q34nw4r3snd15Sound3DListenerFv: -/* 80376568 003721C8 C0 02 A6 F8 */ lfs f0, lbl_80642CF8-_SDA2_BASE_(r2) -/* 8037656C 003721CC D0 03 00 30 */ stfs f0, 0x30(r3) -/* 80376570 003721D0 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 80376574 003721D4 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 80376578 003721D8 4E 80 00 20 */ blr - .global func_8037657C func_8037657C: /* 8037657C 003721DC 3C C0 80 45 */ lis r6, lbl_8044CE20@ha diff --git a/obj_files.mk b/obj_files.mk index a7bae64..a5f88b5 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -137,6 +137,7 @@ TEXT_O_FILES := \ $(BUILD_DIR)/asm/nw4r/snd/detail/snd_SeqSound.o \ $(BUILD_DIR)/asm/nw4r/snd/snd_SeqSoundHandle.o \ $(BUILD_DIR)/asm/nw4r/snd/detail/snd_SeqTrack.o \ + $(BUILD_DIR)/asm/nw4r/snd/snd_Sound3DListener.o \ $(BUILD_DIR)/asm/text_10_6.o \ $(BUILD_DIR)/asm/text_11.o -- cgit v1.2.3