From 96502d857095384d1b5b2dca8927e8a7560305e8 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Wed, 25 Feb 2026 22:49:32 +0100 Subject: [PATCH] Fix broken J3DTexture assert --- include/JSystem/J3DGraphBase/J3DTexture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/JSystem/J3DGraphBase/J3DTexture.h b/include/JSystem/J3DGraphBase/J3DTexture.h index 8c95729d66..edf9c5dc7d 100644 --- a/include/JSystem/J3DGraphBase/J3DTexture.h +++ b/include/JSystem/J3DGraphBase/J3DTexture.h @@ -19,7 +19,7 @@ private: public: J3DTexture(u16 num, ResTIMG* res) : mNum(num), unk_0x2(0), mpRes(res) { - J3D_ASSERT_NULLPTR(52, res && num); + J3D_ASSERT_NULLPTR(52, res != NULL || num == 0); } void loadGX(u16, GXTexMapID) const;