mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Fix crash in DynOS_Tex_Load()
This commit is contained in:
parent
c63ac1655d
commit
ff7d976551
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ static bool DynOS_Tex_WriteBinary(GfxData* aGfxData, const SysPath &aOutputFilen
|
||||||
/////////////
|
/////////////
|
||||||
|
|
||||||
DataNode<TexData>* DynOS_Tex_Load(BinFile *aFile, GfxData *aGfxData) {
|
DataNode<TexData>* DynOS_Tex_Load(BinFile *aFile, GfxData *aGfxData) {
|
||||||
|
if (!aFile || !aGfxData) { return NULL; }
|
||||||
|
|
||||||
DataNode<TexData> *_Node = New<DataNode<TexData>>();
|
DataNode<TexData> *_Node = New<DataNode<TexData>>();
|
||||||
|
|
||||||
// Name
|
// Name
|
||||||
|
|
Loading…
Reference in a new issue