This commit is contained in:
twinaphex 2017-10-06 05:28:35 +02:00
parent 608bc45388
commit 20da0f0666
1 changed files with 3 additions and 2 deletions

View File

@ -2166,6 +2166,7 @@ static chd_error hunk_read_into_memory(chd_file *chd, UINT32 hunknum, UINT8 *des
return CHDERR_READ_ERROR;
if (core_fread(chd->file, chd->compressed, blocklen) != blocklen)
return CHDERR_READ_ERROR;
switch (chd->codecintf[rawmap[0]]->compression)
{
case CHD_CODEC_CD_LZMA: