Fix for 239 resolution in fullscreen mode

This commit is contained in:
pagefault
2001-08-24 19:32:55 +00:00
parent b48ede5b91
commit f9ea9e4ef0
2 changed files with 7 additions and 2 deletions

View File

@@ -44,6 +44,12 @@ NEWSYM copy640x480x16bwin
mov esi,[vidbuffer] mov esi,[vidbuffer]
mov edi,[WinVidMemStart] mov edi,[WinVidMemStart]
add esi,16*2+256*2+32*2 add esi,16*2+256*2+32*2
cmp byte[GUIOn],1
je .not239
cmp byte[resolutn],239
jne .not239
add esi,8*288*2
.not239
xor eax,eax xor eax,eax
; Check if interpolation mode ; Check if interpolation mode
cmp byte[FilteredGUI],0 cmp byte[FilteredGUI],0

View File

@@ -44,10 +44,9 @@ NEWSYM copy640x480x16bwin
mov esi,[vidbuffer] mov esi,[vidbuffer]
mov edi,[WinVidMemStart] mov edi,[WinVidMemStart]
add esi,16*2+256*2+32*2 add esi,16*2+256*2+32*2
cmp byte[GUIOn],1 cmp byte[GUIOn],1
je .not239 je .not239
cmp byte [resolutn],239 cmp byte[resolutn],239
jne .not239 jne .not239
add esi,8*288*2 add esi,8*288*2
.not239 .not239