Fixed mode 4 offset bug

This commit is contained in:
pagefault
2002-02-20 22:23:25 +00:00
parent 5ca53d6da2
commit 330e922b21
2 changed files with 6 additions and 0 deletions

View File

@@ -3299,7 +3299,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]