chdman: bail out in chd_file::hunk_info() on unknown compression type (nw)

This commit is contained in:
Oliver Stöneberg 2014-12-31 14:18:52 +01:00
parent f563f3bbf2
commit a5d088839e

View File

@ -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;
}