From 3fbbaa5130b40b6dbf44cd4284bce6c86b92a173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Moln=C3=A1r?= Date: Mon, 17 Jul 2006 17:33:03 +0200 Subject: [PATCH] really fixed i386 lzma stub --- src/stub/src/arch/i386/lzma_d_2.ash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stub/src/arch/i386/lzma_d_2.ash b/src/stub/src/arch/i386/lzma_d_2.ash index b0ddcdcf..b0fe7f1a 100644 --- a/src/stub/src/arch/i386/lzma_d_2.ash +++ b/src/stub/src/arch/i386/lzma_d_2.ash @@ -61,18 +61,18 @@ section LZMA_DEC00 inc esi push ebx // &outSizeProcessed - push UPXb // outSize + push offset UPXb // outSize push edi // out add ebx, 4 push ebx // &inSizeProcessed - push UPXc // inSize + push offset UPXc // inSize push esi // in add ebx, 4 push ebx // &CLzmaDecoderState push eax // dummy for call // hardwired LzmaDecodeProperties() - movw [ebx], offset UPXd // lc, lp, pb, dummy + mov dword ptr [ebx], offset UPXd // lc, lp, pb, dummy section LZMA_ELF00