* autoload.cc (noload): Correctly save argument count register.

This commit is contained in:
Christopher Faylor
2002-06-06 23:53:45 +00:00
parent c4e6ff484c
commit 46b941fcf9
4 changed files with 19 additions and 14 deletions

View File

@ -122,9 +122,10 @@ noload: \n\
jz 1f # Nope. \n\
decl %eax # Yes. This is the # of bytes + 1 \n\
popl %edx # Caller's caller \n\
pushl %eax # Save for later \n\
movl %eax,%ebx # For manipulation \n\
andl $0xffff,%eax # Only want lower word \n\
addl %eax,%esp # Pop off bytes \n\
pushl %ebx # Save for later \n\
movl $127,%eax # ERROR_PROC_NOT_FOUND \n\
pushl %eax # First argument \n\
call _SetLastError@4 # Set it \n\