Fixed a mode7 problem when center coordinates are negative.

This commit is contained in:
zsknight
2001-04-26 06:13:55 +00:00
parent 669bbb2da1
commit 7402690c08
2 changed files with 6 additions and 2 deletions

View File

@@ -109,6 +109,7 @@ EXTSYM pesimpng
test bx,0001000000000000b
jz .nonega
or bx,1110000000000000b
or word[mode7X0],1110000000000000b
.nonega
mov [mcxloc],bx
mov bx,dx
@@ -130,6 +131,7 @@ EXTSYM pesimpng
test bx,0001000000000000b
jz .nonegd
or bx,1110000000000000b
or word[mode7Y0],1110000000000000b
.nonegd
sub word[mcyloc],bx