aarch64 lto broken GPU2D workaround
This commit is contained in:
parent
c01b2bf7a0
commit
cb7af652f5
|
@ -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…
Reference in New Issue