mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
2D: mosaic
sprites might be mosaiced wrong, esp. rotscaled ones. blrgdfgdf
This commit is contained in:
@ -93,6 +93,8 @@ private:
|
||||
|
||||
u8 BGMosaicSize[2];
|
||||
u8 OBJMosaicSize[2];
|
||||
u8 BGMosaicY, BGMosaicYMax;
|
||||
u8 OBJMosaicY, OBJMosaicYMax;
|
||||
|
||||
u16 BlendCnt;
|
||||
u16 BlendAlpha;
|
||||
@ -123,8 +125,8 @@ private:
|
||||
void InterleaveSprites(u32* buf, u32 prio, u32* dst);
|
||||
void DrawSprites(u32 line, u32* dst);
|
||||
void DrawSpritesWindow(u32 line, u8* dst);
|
||||
template<bool window> void DrawSprite_Rotscale(u16* attrib, u16* rotparams, u32 boundwidth, u32 boundheight, u32 width, u32 height, s32 xpos, u32 ypos, u32* dst);
|
||||
template<bool window> void DrawSprite_Normal(u16* attrib, u32 width, s32 xpos, u32 ypos, u32* dst);
|
||||
template<bool window> void DrawSprite_Rotscale(u16* attrib, u16* rotparams, u32 boundwidth, u32 boundheight, u32 width, u32 height, s32 xpos, s32 ypos, u32* dst);
|
||||
template<bool window> void DrawSprite_Normal(u16* attrib, u32 width, s32 xpos, s32 ypos, u32* dst);
|
||||
|
||||
void DoCapture(u32 line, u32 width, u32* src);
|
||||
|
||||
|
Reference in New Issue
Block a user