This commit is contained in:
RSDuck 2021-02-02 20:37:28 +01:00
parent 2e999ae1b8
commit 7b9b8418cb
1 changed files with 1 additions and 1 deletions

View File

@ -2126,7 +2126,7 @@ void GPU2D_Soft::DrawSprite_Normal(u32 num, u32 width, u32 height, s32 xpos, s32
for (; xoff < xend;)
{
color = objvram[pixelsaddr];
color = objvram[pixelsaddr & objvrammask];
pixelsaddr += pixelstride;