chdman: -c would only overwrite the amount of compressions defined - part of the default compressions might still have been used [Oliver Stöneberg]

This commit is contained in:
Oliver Stöneberg 2013-06-18 00:04:27 +00:00
parent 726d4a0c53
commit f365fbecc2

View File

@ -1086,6 +1086,11 @@ static void parse_compression(const parameters_t &params, chd_codec_type compres
if (end == -1)
break;
}
for(;index < 4; ++index)
{
compression[index] = CHD_CODEC_NONE;
}
}