diff --git a/apple/iOS/browser.m b/apple/iOS/browser.m index 1999b8f175..b188d25b87 100644 --- a/apple/iOS/browser.m +++ b/apple/iOS/browser.m @@ -32,9 +32,9 @@ static bool zlib_extract_callback(const char *name, { 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; }