From 9a51d1ce4dc32f91a31b882b8c01b74b4d2b06e3 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Wed, 19 Oct 2022 22:12:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=81=8F=E5=80=9A=E7=9C=8B?= =?UTF-8?q?=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/open_agb_firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index 2472ef7..2a29040 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -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,