aboutsummaryrefslogtreecommitdiff
path: root/src/GPU2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU2D.cpp')
-rw-r--r--src/GPU2D.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/GPU2D.cpp b/src/GPU2D.cpp
index 1ce62c6..288ee58 100644
--- a/src/GPU2D.cpp
+++ b/src/GPU2D.cpp
@@ -2192,21 +2192,19 @@ void GPU2D::DrawSprites(u32 line)
const s32 spritewidth[16] =
{
- 8, 16, 8, 0,
- 16, 32, 8, 0,
- 32, 32, 16, 0,
- 64, 64, 32, 0
+ 8, 16, 8, 8,
+ 16, 32, 8, 8,
+ 32, 32, 16, 8,
+ 64, 64, 32, 8
};
const s32 spriteheight[16] =
{
- 8, 8, 16, 0,
- 16, 8, 32, 0,
- 32, 16, 32, 0,
- 64, 32, 64, 0
+ 8, 8, 16, 8,
+ 16, 8, 32, 8,
+ 32, 16, 32, 8,
+ 64, 32, 64, 8
};
- u32 nsprites = 0;
-
for (int bgnum = 0x0C00; bgnum >= 0x0000; bgnum -= 0x0400)
{
for (int sprnum = 127; sprnum >= 0; sprnum--)