diff --git a/data/dynos_bin_tex.cpp b/data/dynos_bin_tex.cpp index 9bf86c70..93d86917 100644 --- a/data/dynos_bin_tex.cpp +++ b/data/dynos_bin_tex.cpp @@ -235,6 +235,8 @@ static bool DynOS_Tex_WriteBinary(GfxData* aGfxData, const SysPath &aOutputFilen ///////////// DataNode* DynOS_Tex_Load(BinFile *aFile, GfxData *aGfxData) { + if (!aFile || !aGfxData) { return NULL; } + DataNode *_Node = New>(); // Name