(iOS) Fix shameful logic error in unzip support

This commit is contained in:
meancoot 2013-12-16 22:13:55 -05:00
parent 1d8ce0cd0d
commit 90b53a7da1

View File

@ -32,9 +32,9 @@ static bool zlib_extract_callback(const char *name,
{ {
char path[PATH_MAX]; char path[PATH_MAX];
if (cmode != 0 || cmode != 8) if (cmode != 0 && cmode != 8)
{ {
RARCH_WARN("Could not unzip %s (unknown mode %d)\n", name, cmode); apple_display_alert([NSString stringWithFormat:@"Could not unzip %s (unknown mode %d)", name, cmode], @"Action Failed");
return false; return false;
} }