Mode 4 offset change overflow fix in rendering code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user