Fixed extra lines on top in F1 Menu and in screenshots.

This commit is contained in:
jbo_85
2006-02-16 23:21:18 +00:00
parent a888ccf7df
commit a1f182bdb3

View File

@@ -59,7 +59,7 @@ EXTSYM Grab_PNG_Data
SECTION .text SECTION .text
GUIBufferData: GUIBufferData:
mov ecx,16384 mov ecx,16000
cmp byte[cbitmode],1 cmp byte[cbitmode],1
jne near .16b jne near .16b
add ecx,16384 add ecx,16384
@@ -67,6 +67,8 @@ GUIBufferData:
; copy to spritetable ; copy to spritetable
mov esi,[vidbuffer] mov esi,[vidbuffer]
mov edi,[spritetablea] mov edi,[spritetablea]
add esi,4*384
add edi,4*384
.loop .loop
mov eax,[esi] mov eax,[esi]
mov [edi],eax mov [edi],eax
@@ -84,7 +86,7 @@ GUIBufferData:
ret ret
GUIUnBuffer: GUIUnBuffer:
mov ecx,16384 mov ecx,16000
cmp byte[cbitmode],1 cmp byte[cbitmode],1
jne near .16b jne near .16b
add ecx,16384 add ecx,16384
@@ -92,6 +94,8 @@ GUIUnBuffer:
; copy from spritetable ; copy from spritetable
mov esi,[vidbuffer] mov esi,[vidbuffer]
mov edi,[spritetablea] mov edi,[spritetablea]
add esi,4*384
add edi,4*384
.loop .loop
mov eax,[edi] mov eax,[edi]
mov [esi],eax mov [esi],eax