diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-12-03 18:09:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-03 15:09:56 -0800 |
| commit | f97d334732201e5a8e1250318925c90d0c715225 (patch) | |
| tree | dffb749eaa0db03a031d854c319dc7e8f6d8e7b5 /include/JSystem/J2DGraph | |
| parent | 5716efc4c86f5e7e03263f0ed426c5e9ae834cd3 (diff) | |
Debug+retail matches and clean up some fakematches (#2910)
* Debug matches
* Match daAlink_c::procGrassWhistleWait
* Match JASAramStream::channelProc
* More debug matches
* Match JAUStreamStaticAramMgr_::deleteStreamAram and bitset inlines
* Fix some fakematches
* Fix gameinfo player info not being a struct
* Update bug comments
* Fix procids in alink
* d_a_scene_exit OK
Diffstat (limited to 'include/JSystem/J2DGraph')
| -rw-r--r-- | include/JSystem/J2DGraph/J2DMatBlock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/JSystem/J2DGraph/J2DMatBlock.h b/include/JSystem/J2DGraph/J2DMatBlock.h index 4a3fec0c35..c13fa2f332 100644 --- a/include/JSystem/J2DGraph/J2DMatBlock.h +++ b/include/JSystem/J2DGraph/J2DMatBlock.h @@ -2,6 +2,7 @@ #define J2DMATBLOCK_H #include "JSystem/J2DGraph/J2DTevs.h" +#include "JSystem/JUtility/JUTAssert.h" #include "JSystem/JUtility/TColor.h" class JUTFont; @@ -117,6 +118,7 @@ public: } virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; } virtual void setTevColor(u32 index, J2DGXColorS10 color) { + J3D_PANIC(250, index < 4, "Error : range over."); mTevColor[index] = color; } virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; } @@ -212,6 +214,7 @@ public: } virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; } virtual void setTevColor(u32 index, J2DGXColorS10 color) { + J3D_PANIC(360, index < 4, "Error : range over."); mTevColor[index] = color; } virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; } @@ -309,6 +312,7 @@ public: } virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; } virtual void setTevColor(u32 index, J2DGXColorS10 color) { + J3D_PANIC(468, index < 4, "Error : range over."); mTevColor[index] = color; } virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; } @@ -406,6 +410,7 @@ public: } virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; } virtual void setTevColor(u32 index, J2DGXColorS10 color) { + J3D_PANIC(579, index < 4, "Error : range over."); mTevColor[index] = color; } virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; } @@ -504,6 +509,7 @@ public: } virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; } virtual void setTevColor(u32 index, J2DGXColorS10 color) { + J3D_PANIC(691, index < 4, "Error : range over."); mTevColor[index] = color; } virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; } |
