mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
fix #978
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user