fixing build on new devkitppc

This commit is contained in:
Daryl Borth 2021-08-06 12:36:05 -06:00
parent 14f06f25c7
commit e4040ee124

View File

@ -751,7 +751,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);