mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
library: Update usage of GRF libnds functions
This commit is contained in:
parent
83dd805fe8
commit
25fc0bcff3
@ -190,7 +190,8 @@ int NE_MaterialTexLoadGRF(NE_Material *tex, NE_Palette *pal,
|
||||
void *gfxDst = NULL;
|
||||
void *palDst = NULL;
|
||||
GRFHeader header = { 0 };
|
||||
GRFError err = grfLoadPath(path, &header, &gfxDst, NULL, &palDst, NULL, NULL);
|
||||
GRFError err = grfLoadPath(path, &header, &gfxDst, NULL, NULL, NULL,
|
||||
&palDst, NULL);
|
||||
if (err != GRF_NO_ERROR)
|
||||
{
|
||||
NE_DebugPrint("Couldn't load GRF file: %d", err);
|
||||
|
Loading…
Reference in New Issue
Block a user