mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 20:25:42 +00:00
(iOS) Fix shameful logic error in unzip support
This commit is contained in:
parent
1d8ce0cd0d
commit
90b53a7da1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user