mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -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;)
|
for (; xoff < xend;)
|
||||||
{
|
{
|
||||||
color = objvram[pixelsaddr];
|
color = objvram[pixelsaddr & objvrammask];
|
||||||
|
|
||||||
pixelsaddr += pixelstride;
|
pixelsaddr += pixelstride;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user