修改偏倚看看

This commit is contained in:
anod 2022-10-19 22:12:44 +08:00
parent 18415f496e
commit 9a51d1ce4d

View File

@ -681,7 +681,7 @@ static void gbaGfxHandler(void *args)
// 但是gpu的transfer engine只支持16字节对齐的地址。现在需要
// 0x18180000 <----------> screen_top + 16*240*3 + 120 是正确对准左边对16求余为0右边为8
// 现在右边加上8是2|2/3个像素
GX_displayTransfer((u32*)(0x18180000 + 16*240*3 + 16), 368u<<16 | 240u,
GX_displayTransfer((u32*)(0x18180000 + 16*240*3 + 48), 368u<<16 | 240u,
GFX_getFramebuffer(SCREEN_TOP) + 16*240*3 + 144, 368u<<16 | 240u, 1u<<12 | 1u<<8);
}
else GX_displayTransfer((u32*)(0x18180000 + 16*240*3), 368u<<16 | 240u,