From 09280ae00bf6e457aa4694dbcb3f8388f702f3b9 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Fri, 26 Dec 2025 19:20:21 -0500 Subject: Fix optimization flag for Shield (#3004) * Fix optimization flag for Shield * Minor debug work * Fix NULL asserts --- src/JSystem/J3DGraphBase/J3DTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/JSystem/J3DGraphBase') diff --git a/src/JSystem/J3DGraphBase/J3DTexture.cpp b/src/JSystem/J3DGraphBase/J3DTexture.cpp index 60c0590222..70d9a69031 100644 --- a/src/JSystem/J3DGraphBase/J3DTexture.cpp +++ b/src/JSystem/J3DGraphBase/J3DTexture.cpp @@ -49,7 +49,7 @@ void J3DTexture::addResTIMG(u16 newNum, const ResTIMG* newRes) { if (newNum == 0) return; - J3D_ASSERT_NULLPTR(105, newRes != 0); + J3D_ASSERT_NULLPTR(105, newRes != NULL); u16 oldNum = mNum; ResTIMG* oldRes = mpRes; -- cgit v1.2.3