mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
aarch64 lto broken GPU2D workaround
This commit is contained in:
@ -914,6 +914,9 @@ void SoftRenderer::DrawBG_3D()
|
||||
template<bool mosaic, SoftRenderer::DrawPixel drawPixel>
|
||||
void SoftRenderer::DrawBG_Text(u32 line, u32 bgnum)
|
||||
{
|
||||
// workaround for backgrounds missing on aarch64 with lto build
|
||||
asm volatile ("" : : : "memory");
|
||||
|
||||
u16 bgcnt = CurUnit->BGCnt[bgnum];
|
||||
|
||||
u32 tilesetaddr, tilemapaddr;
|
||||
|
Reference in New Issue
Block a user