diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-10-01 00:30:37 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-10-01 00:30:37 +0800 |
commit | 9b9ddc42920bcea505d76f3cf137b64437ceda6a (patch) | |
tree | 1222249034b079f07f3b298ce4cd8ae827033283 | |
parent | 1d3fe0226f6fb8243bb6d2b8ddd8a5daee298a4b (diff) | |
download | rich4-9b9ddc42920bcea505d76f3cf137b64437ceda6a.tar.xz |
beautify mkf_decompress
-rw-r--r-- | csrc/mkf_decompress.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/csrc/mkf_decompress.c b/csrc/mkf_decompress.c index cd0218c..432b30d 100644 --- a/csrc/mkf_decompress.c +++ b/csrc/mkf_decompress.c @@ -402,18 +402,13 @@ static void cfcn_45511b(size_t i) gtables.tab3[cx / 2 + 1] = ebx; } - tmp = ax; - ax = cx; - cx = tmp; - - gtables.tab3[cx / 2] = _edi; - if (cx < 0x502) { - gtables.tab3[cx / 2 + 1] = _edi; + gtables.tab3[ax / 2] = _edi; + if (ax < 0x502) { + gtables.tab3[ax / 2 + 1] = _edi; } - gtables.tab2[ebx / 2] = ax; - gtables.tab2[_edi / 2] = cx; - ebx = _edi & 0xffff; - ebx = gtables.tab3[ebx / 2]; + gtables.tab2[ebx / 2] = cx; + gtables.tab2[_edi / 2] = ax; + ebx = gtables.tab3[_edi / 2]; } while (ebx); } |