From 3561e93bf6b72debe61380e277b40b07d1fd22c3 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Sun, 3 Nov 2019 04:32:47 +0100 Subject: fix sprite y-flip also, meaningless shenanigans --- src/GPU2D.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/GPU2D.h') diff --git a/src/GPU2D.h b/src/GPU2D.h index 8c6ec27..6675ce7 100644 --- a/src/GPU2D.h +++ b/src/GPU2D.h @@ -78,6 +78,7 @@ private: u8 WindowMask[256] __attribute__((aligned (8))); u32 OBJLine[256] __attribute__((aligned (8))); u8 OBJWindow[256] __attribute__((aligned (8))); + u8 OBJIndex[256] __attribute__((aligned (8))); u32 NumSprites; @@ -156,8 +157,8 @@ private: void ApplySpriteMosaicX(); void InterleaveSprites(u32 prio); - template void DrawSprite_Rotscale(u16* attrib, u16* rotparams, u32 boundwidth, u32 boundheight, u32 width, u32 height, s32 xpos, s32 ypos); - template void DrawSprite_Normal(u16* attrib, u32 width, s32 xpos, s32 ypos); + template void DrawSprite_Rotscale(u32 num, u32 boundwidth, u32 boundheight, u32 width, u32 height, s32 xpos, s32 ypos); + template void DrawSprite_Normal(u32 num, u32 width, u32 height, s32 xpos, s32 ypos); void DoCapture(u32 line, u32 width); -- cgit v1.2.3