mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Fix horizontal mosaic on sprites (#2084)
The code itself is correct, but the variable being read is the Y mosaic coordinate, not the X coordinate.
This commit is contained in:

committed by
GitHub

parent
613569a2ab
commit
25b5ac91bd
@ -1507,7 +1507,7 @@ void SoftRenderer::ApplySpriteMosaicX()
|
||||
|
||||
u32* objLine = OBJLine[CurUnit->Num];
|
||||
|
||||
u8* curOBJXMosaicTable = MosaicTable[CurUnit->OBJMosaicSize[1]].data();
|
||||
u8* curOBJXMosaicTable = MosaicTable[CurUnit->OBJMosaicSize[0]].data();
|
||||
|
||||
u32 lastcolor = objLine[0];
|
||||
|
||||
|
Reference in New Issue
Block a user