diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-01-15 04:47:27 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-01-15 04:47:27 -0500 |
| commit | 8485e571b4db3dbf63427ebce70019b66a0f0eb3 (patch) | |
| tree | 8ff24b557b45ccf4a06ecf580d8a2a8828af706f /include/JSystem/J3DGraphBase | |
| parent | f5773a44d1008c1dca01575e03431e09d9a95032 (diff) | |
d_a_player_main work
Diffstat (limited to 'include/JSystem/J3DGraphBase')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DMatBlock.h | 6 |
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) { |
