mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
chdman: bail out in chd_file::hunk_info() on unknown compression type (nw)
This commit is contained in:
parent
f563f3bbf2
commit
a5d088839e
@ -452,6 +452,9 @@ chd_error chd_file::hunk_info(UINT32 hunknum, chd_codec_type &compressor, UINT32
|
|||||||
compressor = CHD_CODEC_PARENT;
|
compressor = CHD_CODEC_PARENT;
|
||||||
compbytes = 0;
|
compbytes = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return CHDERR_UNKNOWN_COMPRESSION;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user