Add an error for implicit functions (#3017)
* Add the flag and fix errors * switch assert and skin matrix * new LUS * Use normal assert * hopefully fix WiiU Signed-off-by: Louis <louist103@pop-os.localdomain> --------- Signed-off-by: Louis <louist103@pop-os.localdomain> Co-authored-by: Louis <louist103@pop-os.localdomain> Co-authored-by: Christopher Leggett <chris@leggett.dev>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "global.h"
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
// (Note: 80 = SCREEN_HEIGHT/3, see VisMono_DrawTexture)
|
||||
// This may not have been kept up-to-date with the code, 1+1+1+80*(7+2+2+3)+1+1 makes more sense
|
||||
@@ -101,7 +102,7 @@ void VisMono_Draw(VisMono* this, Gfx** gfxp) {
|
||||
LOG_ADDRESS("mono_dl + (1+3+1+1+80*(7+2+2+3)+1)", monoDL + DLSIZE);
|
||||
LOG_ADDRESS("(1+3+1+1+80*(7+2+2+3)+1)", DLSIZE);
|
||||
}
|
||||
ASSERT(glistpEnd <= monoDL + DLSIZE);
|
||||
assert(glistpEnd <= monoDL + DLSIZE);
|
||||
}
|
||||
|
||||
gDPPipeSync(gfx++);
|
||||
@@ -131,6 +132,6 @@ void VisMono_DrawOld(VisMono* this) {
|
||||
if (!this->monoDl) {
|
||||
this->monoDl = SYSTEM_ARENA_MALLOC_DEBUG(DLSIZE * sizeof(Gfx));
|
||||
glistpEnd = VisMono_DrawTexture(this, this->monoDl);
|
||||
ASSERT(glistpEnd <= this->monoDl + DLSIZE);
|
||||
assert(glistpEnd <= this->monoDl + DLSIZE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user