mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
数字写多了0
This commit is contained in:
parent
5a44c6799d
commit
fe386988ff
@ -675,7 +675,7 @@ static void gbaGfxHandler(void *args)
|
|||||||
// 地址0x18180000保存的是360x240大小的贴图数据rgb888(序列:↑↘↑)
|
// 地址0x18180000保存的是360x240大小的贴图数据rgb888(序列:↑↘↑)
|
||||||
// 地址0x18200000保存的是512x512大小的GBA的240x160贴图数据(序列:→↙→)
|
// 地址0x18200000保存的是512x512大小的GBA的240x160贴图数据(序列:→↙→)
|
||||||
// 所以GPU做的事情就是将18200000的数据逆时针旋转90°
|
// 所以GPU做的事情就是将18200000的数据逆时针旋转90°
|
||||||
int src_offset = 160*240*3;
|
int src_offset = 16*240*3;
|
||||||
int dst_offset = src_offset;
|
int dst_offset = src_offset;
|
||||||
if( g_oafConfig.scaler == 0 )
|
if( g_oafConfig.scaler == 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user