More mode 4 fixes

This commit is contained in:
pagefault
2002-02-21 00:00:09 +00:00
parent b9518c534b
commit 74670492a8
2 changed files with 6 additions and 0 deletions

View File

@@ -3254,7 +3254,10 @@ EXTSYM drawmode7ngextbg,drawmode7ngextbg2
shr edx,3
shl edx,6
xor eax,eax
cmp byte[BGMA+ebx],4
je .offsetmode4
mov ax,[BGPT3+ebx*2]
.offsetmode4
add ax,dx
xor edx,edx
mov dx,[BG3SXl+ebx*2]

View File

@@ -3705,7 +3705,10 @@ EXTSYM osm2dis
shr edx,3
shl edx,6
xor eax,eax
cmp byte[BGMA+ebx],4
je .offsetmode4
mov ax,[BGPT3+ebx*2]
.offsetmode4
add ax,dx
xor edx,edx
mov dx,[BG3SXl+ebx*2]