From a096caa8deaab245402c56dd5d54bfe4a0bbe2e5 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Wed, 25 Feb 2026 23:06:37 +0100 Subject: [PATCH] Fix broken J3DTexture assert (#3111) --- 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 da8276e767..f179764e9b 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;