mirror of
https://github.com/red031000/nitrogfx.git
synced 2025-06-18 13:15:35 -04:00
Update gfx.c
This commit is contained in:
parent
24188ee122
commit
ae44344810
3
gfx.c
3
gfx.c
@ -1046,7 +1046,7 @@ void ReadNtrCell(char *path, struct JsonToCellOptions *options)
|
||||
FATAL_ERROR("Not a valid NCER cell file.\n");
|
||||
}
|
||||
|
||||
options->labelEnabled = data[0xE] != 1;
|
||||
options->labelEnabled = false;
|
||||
|
||||
unsigned int blockSize;
|
||||
offset = FindNitroDataBlock(data, "KBEC", fileSize, &blockSize);
|
||||
@ -1060,6 +1060,7 @@ void ReadNtrCell(char *path, struct JsonToCellOptions *options)
|
||||
offset = FindNitroDataBlock(data, "LBAL", fileSize, &blockSize);
|
||||
if (offset != -1u)
|
||||
{
|
||||
options->labelEnabled = true;
|
||||
ReadNtrCell_LABL(data, offset, blockSize, options);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user