diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-05-30 03:04:14 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-05-30 03:04:14 +0200 |
commit | b44570eba1aab5903ff99aac044dc3e777c264d3 (patch) | |
tree | 11a05b343c764c71f564a3774212a7e58818819d /src/GPU2D.h | |
parent | 61799c35bdf26a5754ca760ac92d4f07d6a9396b (diff) | |
parent | 9381b531cd4544cc68998f604211bcbffb90cd3c (diff) |
merge moar
Diffstat (limited to 'src/GPU2D.h')
-rw-r--r-- | src/GPU2D.h | 5 |
1 files changed, 3 insertions, 2 deletions
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<bool window> void DrawSprite_Rotscale(u16* attrib, u16* rotparams, u32 boundwidth, u32 boundheight, u32 width, u32 height, s32 xpos, s32 ypos); - template<bool window> void DrawSprite_Normal(u16* attrib, u32 width, s32 xpos, s32 ypos); + template<bool window> void DrawSprite_Rotscale(u32 num, u32 boundwidth, u32 boundheight, u32 width, u32 height, s32 xpos, s32 ypos); + template<bool window> void DrawSprite_Normal(u32 num, u32 width, u32 height, s32 xpos, s32 ypos); void DoCapture(u32 line, u32 width); |