mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-03-06 21:00:31 +01:00
aarch64 lto broken GPU2D workaround
This commit is contained in:
parent
c01b2bf7a0
commit
cb7af652f5
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue