# HG changeset patch # User Matti Hamalainen # Date 1528288860 -10800 # Node ID 12504f1797494bfaa988990910f91869d80322da # Parent 13fe4010623f24e733a6b4865721b922fd6db037 Cleanups. diff -r 13fe4010623f -r 12504f179749 tools/lib64fmts.c --- 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