2010-10-24 14:19:44 +02:00
|
|
|
;* Call: ***************************************************************
|
2010-10-31 12:06:54 +01:00
|
|
|
; lzma_set_dict_size(unsigned logdictsize)
|
2010-10-24 14:19:44 +02:00
|
|
|
lzma_set_dict_size:
|
|
|
|
mov ecx,[esp+4]
|
|
|
|
xor eax,eax
|
|
|
|
inc eax
|
|
|
|
shl eax,cl
|
2010-10-31 12:06:54 +01:00
|
|
|
mov [_dictionarySize],eax
|
2010-10-24 14:19:44 +02:00
|
|
|
lea eax,[ecx+ecx]
|
2010-10-31 12:06:54 +01:00
|
|
|
mov [_distTableSize],eax
|
2010-10-24 14:19:44 +02:00
|
|
|
ret 4
|
|
|
|
;*****************************************************************************
|