mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-14 12:53:52 -04:00
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:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "soh/frame_interpolation.h"
|
||||
|
||||
@@ -176,10 +177,10 @@ void func_800AA550(View* view) {
|
||||
lrx = view->viewport.rightX - varX;
|
||||
lry = view->viewport.bottomY - varY;
|
||||
|
||||
ASSERT(ulx >= 0);
|
||||
ASSERT(uly >= 0);
|
||||
ASSERT(lrx <= SCREEN_WIDTH);
|
||||
ASSERT(lry <= SCREEN_HEIGHT);
|
||||
assert(ulx >= 0);
|
||||
assert(uly >= 0);
|
||||
assert(lrx <= SCREEN_WIDTH);
|
||||
assert(lry <= SCREEN_HEIGHT);
|
||||
|
||||
OPEN_DISPS(gfxCtx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user