Mode 4 offset change overflow fix in rendering code

This commit is contained in:
pagefault
2005-03-25 19:35:25 +00:00
parent be4f623a03
commit 339a2f38c5

View File

@@ -3300,7 +3300,10 @@ EXTSYM osm2dis
je near .offsetm16x16
xor edx,edx
mov dx,[BG3SYl+ebx*2]
test dx,08h
jz .overflow
and dx,0F8h
.overflow
shr edx,3
shl edx,6
xor eax,eax