mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07: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:
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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user