mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +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;
|
||||
compbytes = 0;
|
||||
break;
|
||||
|
||||
default:
|
||||
return CHDERR_UNKNOWN_COMPRESSION;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user