summaryrefslogtreecommitdiff
path: root/include/JSystem/J2DGraph
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-09-04 07:56:59 -0700
committerGitHub <noreply@github.com>2025-09-04 17:56:59 +0300
commitb45a089e15d79821b07be020db628e01a49b1fd2 (patch)
tree948057548cc19b19d644bd4f300ca6434e6bff11 /include/JSystem/J2DGraph
parentee8b843996f4d888903f8c125b95ec1af376877e (diff)
some J3D/misc cleanup (#2628)
* some j3d cleanup * begin using uintptr_t * j3dgraphbase cleanup * j3dgraphanimator cleanup
Diffstat (limited to 'include/JSystem/J2DGraph')
-rw-r--r--include/JSystem/J2DGraph/J2DAnimation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/JSystem/J2DGraph/J2DAnimation.h b/include/JSystem/J2DGraph/J2DAnimation.h
index eb393c3fad..8820f36b05 100644
--- a/include/JSystem/J2DGraph/J2DAnimation.h
+++ b/include/JSystem/J2DGraph/J2DAnimation.h
@@ -56,10 +56,10 @@ class J2DAnmVtxColor : public J2DAnmBase {
public:
J2DAnmVtxColor() {
mKind = KIND_VTX_COLOR;
- for (s32 i = 0; i < ARRAY_SIZE(mAnmTableNum); i++) {
+ for (s32 i = 0; i < ARRAY_SIZEU(mAnmTableNum); i++) {
mAnmTableNum[i] = NULL;
}
- for (s32 i = 0; i < ARRAY_SIZE(mVtxColorIndexData); i++) {
+ for (s32 i = 0; i < ARRAY_SIZEU(mVtxColorIndexData); i++) {
mVtxColorIndexData[i] = NULL;
}
}
@@ -88,7 +88,7 @@ struct J3DTextureSRTInfo;
class J2DAnmVtxColorKey : public J2DAnmVtxColor {
public:
J2DAnmVtxColorKey() {
- for (s32 i = 0; i < ARRAY_SIZE(mInfoTable); i++) {
+ for (s32 i = 0; i < ARRAY_SIZEU(mInfoTable); i++) {
mInfoTable[i] = NULL;
}
}
@@ -109,7 +109,7 @@ public:
class J2DAnmVtxColorFull : public J2DAnmVtxColor {
public:
J2DAnmVtxColorFull() {
- for (s32 i = 0; i < ARRAY_SIZE(mInfoTable); i++) {
+ for (s32 i = 0; i < ARRAY_SIZEU(mInfoTable); i++) {
mInfoTable[i] = NULL;
}
}