From affae341f354fc875bf95ab85c10516793bf2cc6 Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Fri, 6 Aug 2021 12:36:21 -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 ccba180..95db6ee 100644 --- a/source/fileop.cpp +++ b/source/fileop.cpp @@ -756,7 +756,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);