summaryrefslogtreecommitdiff
path: root/libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-12-19 11:06:32 -0800
committerGitHub <noreply@github.com>2022-12-19 12:06:32 -0700
commitca71275bbecc7db9a4eeca3a6ac4215b66de4318 (patch)
treec2851f8cec211216fe0cb6a31a0260a62fc3bf53 /libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.cpp
parent1114b13da81ab0b52fd4bb56a32f32331a21e581 (diff)
big d_a_alink pass (#214)
* d_a_alink pass1 wip * more d_a_alink work * remove asm * more daalink work * 20% dol code decompiled * fixed some nonmatchings for building * a few daalink functions and labeling some HIO data
Diffstat (limited to 'libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.cpp')
-rw-r--r--libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.cpp b/libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.cpp
index f7332ea6bf..9aa446515e 100644
--- a/libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.cpp
+++ b/libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.cpp
@@ -93,8 +93,8 @@ J3DMaterialTable::~J3DMaterialTable() {}
/* 8032F64C-8032F6F8 329F8C 00AC+00 0/0 1/1 5/5 .text
* removeMatColorAnimator__16J3DMaterialTableFP11J3DAnmColor */
#ifdef NONMATCHING
-bool J3DMaterialTable::removeMatColorAnimator(J3DAnmColor* pAnmColor) {
- bool ret = false;
+int J3DMaterialTable::removeMatColorAnimator(J3DAnmColor* pAnmColor) {
+ int ret = false;
u16 updateMatNum = pAnmColor->getUpdateMaterialNum();
for (u16 i = 0; i < updateMatNum; i++) {
if (pAnmColor->isValidUpdateMaterialID(i)) {