Bugfix: Preserve EAX in UnMapSLFixArray().
This commit is contained in:
parent
a0a516d60e
commit
90c245cdbf
|
@ -554,8 +554,11 @@ LPVOID WINAPI MapSLFix( SEGPTR sptr )
|
|||
* UnMapSLFixArray (KERNEL32.701)
|
||||
*/
|
||||
|
||||
void WINAPI UnMapSLFixArray( SEGPTR sptr[], INT32 length )
|
||||
REGS_ENTRYPOINT(UnMapSLFixArray) /* SEGPTR sptr[], INT32 length */
|
||||
{
|
||||
/* Must not change EAX, hence defined as 'register' function */
|
||||
/* We need to remove the arguments ourselves */
|
||||
ESP_reg( context ) += 8;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
|
@ -717,7 +717,7 @@ init MAIN_KernelInit
|
|||
698 stdcall UTRegister(long str str str ptr ptr ptr) UTRegister
|
||||
699 stdcall UTUnRegister(long) UTUnRegister
|
||||
700 stdcall UnMapLS(long) UnMapLS
|
||||
701 stdcall UnMapSLFixArray(ptr long) UnMapSLFixArray
|
||||
701 register UnMapSLFixArray() UnMapSLFixArray
|
||||
702 stdcall UnhandledExceptionFilter(ptr) UnhandledExceptionFilter
|
||||
703 stub UninitializeCriticalSection
|
||||
704 stdcall UnlockFile(long long long long long) UnlockFile
|
||||
|
|
Loading…
Reference in New Issue