fixing build on new devkitppc

This commit is contained in:
Daryl Borth 2021-08-06 12:35:54 -06:00
parent 96539276b1
commit d79b348df8

View File

@ -754,7 +754,7 @@ LoadSzFile(char * filepath, unsigned char * rbuffer)
HaltParseThread(); HaltParseThread();
file = fopen (filepath, "rb"); file = fopen (filepath, "rb");
if (file > 0) if (file)
{ {
size = SzExtractFile(browserList[browser.selIndex].filenum, rbuffer); size = SzExtractFile(browserList[browser.selIndex].filenum, rbuffer);
fclose (file); fclose (file);