mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Cleanup
This commit is contained in:
parent
14e389bccf
commit
3e3b57200a
@ -183,11 +183,9 @@ static void *file_archive_open(const char *path)
|
|||||||
|
|
||||||
read_from_file = retro_read_file(path, &data->data, &ret);
|
read_from_file = retro_read_file(path, &data->data, &ret);
|
||||||
|
|
||||||
|
/* Failed to open archive? */
|
||||||
if (!read_from_file || ret < 0)
|
if (!read_from_file || ret < 0)
|
||||||
{
|
|
||||||
/* Failed to open archive. */
|
|
||||||
goto error;
|
goto error;
|
||||||
}
|
|
||||||
|
|
||||||
data->size = ret;
|
data->size = ret;
|
||||||
return data;
|
return data;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user