mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
don't ignore errors from decompress_v5_map
This commit is contained in:
parent
316c07c226
commit
7fe952ddeb
@ -826,14 +826,13 @@ chd_error chd_open_file(RFILE *file, int mode, chd_file *parent, chd_file **chd)
|
|||||||
if (newchd->header.version < 5)
|
if (newchd->header.version < 5)
|
||||||
{
|
{
|
||||||
err = map_read(newchd);
|
err = map_read(newchd);
|
||||||
if (err != CHDERR_NONE)
|
|
||||||
EARLY_EXIT(err);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
err = decompress_v5_map(newchd, &(newchd->header));
|
err = decompress_v5_map(newchd, &(newchd->header));
|
||||||
(void)err;
|
|
||||||
}
|
}
|
||||||
|
if (err != CHDERR_NONE)
|
||||||
|
EARLY_EXIT(err);
|
||||||
|
|
||||||
#ifdef NEED_CACHE_HUNK
|
#ifdef NEED_CACHE_HUNK
|
||||||
/* allocate and init the hunk cache */
|
/* allocate and init the hunk cache */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user