forked from KolibriOS/kolibrios
Save of registers after an entrance in function libGUI is added.
git-svn-id: svn://kolibrios.org@706 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -27,8 +27,15 @@ align 4
|
||||
|
||||
craete_button:
|
||||
|
||||
mov ebx,[esp+4] ;parend
|
||||
mov eax,[esp+8] ;control
|
||||
push ebx
|
||||
push ecx
|
||||
push edx
|
||||
push esi
|
||||
push edi
|
||||
push ebp
|
||||
|
||||
mov ebx,[esp+24+4] ;parend
|
||||
mov eax,[esp+24+8] ;control
|
||||
|
||||
mov [PointerToStructureForButton],eax
|
||||
|
||||
@@ -64,6 +71,13 @@ craete_button:
|
||||
mov [eax+32],esi
|
||||
mov [eax+36],edi
|
||||
|
||||
pop ebp
|
||||
pop edi
|
||||
pop esi
|
||||
pop edx
|
||||
pop ecx
|
||||
pop ebx
|
||||
|
||||
ret 8
|
||||
|
||||
;****************************************************
|
||||
|
||||
Reference in New Issue
Block a user