Correcting the "RAW to RAW" module to new invoke.

git-svn-id: svn://kolibrios.org@1956 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2011-06-13 16:59:37 +00:00
parent ec36dbd452
commit eafcca76fb
2 changed files with 33 additions and 31 deletions

View File

@ -145,8 +145,9 @@ convert:
;-------------------------------
; xor eax,eax
; mov [raw_pointer_2],eax
mov eax,image_file
; mov eax,image_file
; call [plugin_convert]
push dword image_file
call [convert_Start]
mov ebx,[raw_pointer]

View File

@ -41,6 +41,7 @@ include '../../../../macros.inc'
;---------------------------------------------------------------------
START:
pushad
mov eax,dword [esp+36]
mov [pointer],eax
mov eax,[eax+4]
mov [image_file],eax
@ -80,7 +81,7 @@ START:
@@:
popad
ret
ret 4
;---------------------------------------------------------------------
.less_8b:
mov edx,[image_file]
@ -109,7 +110,7 @@ START:
mov ebx,[pointer]
mov [ebx+4],eax
popad
ret
ret 4
;---------------------------------------------------------------------
.16b:
cmp [eax+18],word 3
@ -382,7 +383,7 @@ Convert24b:
mov eax,[raw_area]
mov [ebx+20],eax ; store RAW pointer
popad
ret
ret 4
;---------------------------------------------------------------------
.32b: