mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-22 06:20:02 -04:00
Use NULL macro in asserts, fix NULL macro to match
This commit is contained in:
@@ -34,27 +34,27 @@ struct JFWSystem {
|
||||
static JKRExpHeap* getSystemHeap() { return systemHeap; }
|
||||
static JUTResFont* getSystemFont() { return systemFont; }
|
||||
static void setMaxStdHeap(int max) {
|
||||
JUT_ASSERT(47, sInitCalled == 0);
|
||||
JUT_ASSERT(47, sInitCalled == FALSE);
|
||||
CSetUpParam::maxStdHeaps = max;
|
||||
}
|
||||
static void setSysHeapSize(u32 size) {
|
||||
JUT_ASSERT(50, sInitCalled == 0);
|
||||
JUT_ASSERT(50, sInitCalled == FALSE);
|
||||
CSetUpParam::sysHeapSize = size;
|
||||
}
|
||||
static void setFifoBufSize(u32 size) {
|
||||
JUT_ASSERT(53, sInitCalled == 0);
|
||||
JUT_ASSERT(53, sInitCalled == FALSE);
|
||||
CSetUpParam::fifoBufSize = size;
|
||||
}
|
||||
static void setAramAudioBufSize(u32 size) {
|
||||
JUT_ASSERT(58, sInitCalled == 0);
|
||||
JUT_ASSERT(58, sInitCalled == FALSE);
|
||||
CSetUpParam::aramAudioBufSize = size;
|
||||
}
|
||||
static void setAramGraphBufSize(u32 size) {
|
||||
JUT_ASSERT(61, sInitCalled == 0);
|
||||
JUT_ASSERT(61, sInitCalled == FALSE);
|
||||
CSetUpParam::aramGraphBufSize = size;
|
||||
}
|
||||
static void setRenderMode(GXRenderModeObj* p_modeObj) {
|
||||
JUT_ASSERT(80, sInitCalled == 0);
|
||||
JUT_ASSERT(80, sInitCalled == FALSE);
|
||||
CSetUpParam::renderMode = p_modeObj;
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -52,11 +52,11 @@ public:
|
||||
void JSGSetTextureAnimation(u32);
|
||||
void JSGSetTextureAnimationFrame(f32);
|
||||
s32 JSGFindNodeID(const char* name) const {
|
||||
JUT_ASSERT(0x4d, mModel != 0);
|
||||
JUT_ASSERT(0x4d, mModel != NULL);
|
||||
return mModel->getModelData()->getJointName()->getIndex(name);
|
||||
}
|
||||
int JSGGetNodeTransformation(u32 no, Mtx dst) const {
|
||||
JUT_ASSERT(0x52, mModel != 0);
|
||||
JUT_ASSERT(0x52, mModel != NULL);
|
||||
cMtx_copy(mModel->getAnmMtx((u16)no), dst);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user