mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 06:14:12 +08:00
此前的下屏出现断层,继续调整参数
This commit is contained in:
parent
65bdaf447e
commit
d4bddc1a29
@ -698,8 +698,8 @@ static void gbaGfxHandler(void *args)
|
|||||||
}
|
}
|
||||||
else */if( g_oafConfig.scaler == 3 )//下屏无缩放
|
else */if( g_oafConfig.scaler == 3 )//下屏无缩放
|
||||||
{
|
{
|
||||||
int base_offset = 0;
|
int base_offset = 16*240*3;
|
||||||
GX_displayTransfer((u32*)(0x18180000 + 40*240*3), 320u<<16 | 240u,
|
GX_displayTransfer((u32*)(0x18180000 + 16*240*3), 320u<<16 | 240u,
|
||||||
GFX_getFramebuffer(SCREEN_BOT) + base_offset, 320u<<16 | 240u, 1u<<12 | 1u<<8);
|
GFX_getFramebuffer(SCREEN_BOT) + base_offset, 320u<<16 | 240u, 1u<<12 | 1u<<8);
|
||||||
}
|
}
|
||||||
else GX_displayTransfer((u32*)(0x18180000 + 16*240*3), 368u<<16 | 240u,
|
else GX_displayTransfer((u32*)(0x18180000 + 16*240*3), 368u<<16 | 240u,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user