From d79b348df8dbd87a1fb0eadeb9059efedfb01846 Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Fri, 6 Aug 2021 12:35:54 -0600 Subject: [PATCH] fixing build on new devkitppc --- source/fileop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fileop.cpp b/source/fileop.cpp index 5b7efe8..b256a47 100644 --- a/source/fileop.cpp +++ b/source/fileop.cpp @@ -754,7 +754,7 @@ LoadSzFile(char * filepath, unsigned char * rbuffer) HaltParseThread(); file = fopen (filepath, "rb"); - if (file > 0) + if (file) { size = SzExtractFile(browserList[browser.selIndex].filenum, rbuffer); fclose (file);