summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-01-15 04:47:27 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-01-15 04:47:27 -0500
commit8485e571b4db3dbf63427ebce70019b66a0f0eb3 (patch)
tree8ff24b557b45ccf4a06ecf580d8a2a8828af706f /include/JSystem/J3DGraphBase
parentf5773a44d1008c1dca01575e03431e09d9a95032 (diff)
d_a_player_main work
Diffstat (limited to 'include/JSystem/J3DGraphBase')
-rw-r--r--include/JSystem/J3DGraphBase/J3DMatBlock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DMatBlock.h b/include/JSystem/J3DGraphBase/J3DMatBlock.h
index cf44e26e..5fea0a90 100644
--- a/include/JSystem/J3DGraphBase/J3DMatBlock.h
+++ b/include/JSystem/J3DGraphBase/J3DMatBlock.h
@@ -566,7 +566,7 @@ struct J3DZMode {
J3DZMode() { mZModeID = j3dDefaultZModeID; }
explicit J3DZMode(const J3DZModeInfo& info) { setZModeInfo(info); }
- u8 getCompareEnaable() const { return j3dZModeTable[mZModeID * 3 + 0]; }
+ u8 getCompareEnable() const { return j3dZModeTable[mZModeID * 3 + 0]; }
u8 getFunc() const { return j3dZModeTable[mZModeID * 3 + 1]; }
u8 getUpdateEnable() const { return j3dZModeTable[mZModeID * 3 + 2]; }
@@ -575,8 +575,8 @@ struct J3DZMode {
mZModeID = calcZModeID(compareEn, info.mFunc, info.mUpdateEnable);
}
- void load() {
- J3DGDSetZMode(getCompareEnaable(), GXCompare(getFunc()), getUpdateEnable());
+ void load() const {
+ J3DGDSetZMode(getCompareEnable(), GXCompare(getFunc()), getUpdateEnable());
}
void setCompareEnable(u8 i_compare) {