Better code, again.

This commit is contained in:
grinvader
2005-05-13 13:16:39 +00:00
parent 820bac66ee
commit 7ec7bba8f2

View File

@@ -1355,12 +1355,10 @@ NEWSYM GetFreeFile
%ifdef __MSDOS__ %ifdef __MSDOS__
cmp ecx,0 cmp ecx,0
jne .isbmp jne .isbmp
mov word[.filename+9],'pc' mov dword[.filename+9],'pcx '
mov byte[.filename+11],'x'
jmp .doneextselect jmp .doneextselect
.isbmp .isbmp
mov word[.filename+9],'bm' mov dword[.filename+9],'bmp '
mov byte[.filename+11],'p'
.doneextselect .doneextselect
mov byte[.filename+12],0 mov byte[.filename+12],0
mov word[picnum],0 mov word[picnum],0
@@ -1422,12 +1420,10 @@ NEWSYM GetFreeFile
mov word[esi+4],'0.' mov word[esi+4],'0.'
cmp ecx,0 cmp ecx,0
jne .isbmp jne .isbmp
mov word[esi+6],'pc' mov dword[esi+6],'pcx '
mov byte[esi+8],'x'
jmp .doneextselect jmp .doneextselect
.isbmp .isbmp
mov word[esi+6],'bm' mov dword[esi+6],'bmp '
mov byte[esi+8],'p'
.doneextselect .doneextselect
mov byte[esi+9],0 mov byte[esi+9],0