Mercurial > hg > dmlib
changeset 1724:12504f179749
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 06 Jun 2018 15:41:00 +0300 |
parents | 13fe4010623f |
children | 40a5ba0b3838 |
files | tools/lib64fmts.c |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/lib64fmts.c Wed Jun 06 15:23:31 2018 +0300 +++ b/tools/lib64fmts.c Wed Jun 06 15:41:00 2018 +0300 @@ -443,14 +443,12 @@ DMCompParams cfg; Uint8 data; + // 1b7e-67e8 decoded by original depacker + // 1c00-67e8 is the actual area used tho cfg.func = fmt->name; cfg.type = DM_COMP_RLE_MARKER; - cfg.flags = DM_RLE_BACKWARDS_OUTPUT | DM_RLE_BACKWARDS_INPUT; + cfg.flags = DM_RLE_BACKWARDS_OUTPUT | DM_RLE_BACKWARDS_INPUT | DM_OUT_CROP_END; cfg.rleMarkerB = 0xfe; - - // 1b7e-67e8 decoded by original depacker - // 1c00-67e8 is the actual area used tho - cfg.flags |= DM_OUT_CROP_END; cfg.cropOutLen = 0x67e8 - 0x1c00; // Codebooks: #1 is trampoline table markers, #2 is RLE data table