mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
vdp sprite rendering fix
This commit is contained in:
parent
787a0af9dc
commit
e72bc9099c
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ static __inline void UpdateSAT(u32 a, u32 d)
|
|||
{
|
||||
Pico.est.rendstatus |= PDRAW_DIRTY_SPRITES;
|
||||
if (!((a^sat) >> satxbits) && !(a & 4)) {
|
||||
int num = (a >> 3) & 0x7f;
|
||||
int num = (a-sat) >> 3;
|
||||
((u16 *)&VdpSATCache[num])[(a&3) >> 1] = d;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue