Fixed mode 4 offset bug
This commit is contained in:
@@ -2887,7 +2887,10 @@ EXTSYM drawmode7ngextbg,drawmode7ngextbg2
|
|||||||
shr edx,3
|
shr edx,3
|
||||||
shl edx,6
|
shl edx,6
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
|
cmp byte[BGMA+ebx],4
|
||||||
|
je .offsetmode4
|
||||||
mov ax,[BGPT3+ebx*2]
|
mov ax,[BGPT3+ebx*2]
|
||||||
|
.offsetmode4
|
||||||
add ax,dx
|
add ax,dx
|
||||||
xor edx,edx
|
xor edx,edx
|
||||||
mov dx,[BG3SXl+ebx*2]
|
mov dx,[BG3SXl+ebx*2]
|
||||||
|
|||||||
@@ -3299,7 +3299,10 @@ EXTSYM osm2dis
|
|||||||
shr edx,3
|
shr edx,3
|
||||||
shl edx,6
|
shl edx,6
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
|
cmp byte[BGMA+ebx],4
|
||||||
|
je .offsetmode4
|
||||||
mov ax,[BGPT3+ebx*2]
|
mov ax,[BGPT3+ebx*2]
|
||||||
|
.offsetmode4
|
||||||
add ax,dx
|
add ax,dx
|
||||||
xor edx,edx
|
xor edx,edx
|
||||||
mov dx,[BG3SXl+ebx*2]
|
mov dx,[BG3SXl+ebx*2]
|
||||||
|
|||||||
Reference in New Issue
Block a user