'libio' and 'libini': function 'get_color' not spoil register 'ecx'

game 'Nu_pogodi': revised

git-svn-id: svn://kolibrios.org@1573 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
IgorA
2010-08-20 10:31:17 +00:00
parent 7ea3c78d40
commit be3cceaea6
4 changed files with 113 additions and 59 deletions

View File

@@ -179,7 +179,7 @@ locals
loc_buf rb 40
endl
push ebx esi edi
push ebx ecx esi edi
xor ebx, ebx
invoke mem.alloc, sizeof.InternalFileInfo
@@ -212,7 +212,7 @@ endl
jne .exit_error.ex
@@:
mov eax, ebx
pop edi esi ebx
pop edi esi ecx ebx
ret
.exit_error.ex:
@@ -233,7 +233,7 @@ endl
.exit_error:
invoke mem.free, ebx
xor eax, eax
pop edi esi ebx
pop edi esi ecx ebx
ret
endp