diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/GPU2D_Soft.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/GPU2D_Soft.cpp b/src/GPU2D_Soft.cpp index 53e7b73..7cab67a 100644 --- a/src/GPU2D_Soft.cpp +++ b/src/GPU2D_Soft.cpp @@ -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; |