数字写多了0

This commit is contained in:
anod 2022-10-19 17:05:46 +08:00
parent 5a44c6799d
commit fe386988ff

View File

@ -675,7 +675,7 @@ static void gbaGfxHandler(void *args)
// 地址0x18180000保存的是360x240大小的贴图数据rgb888(序列:↑↘↑)
// 地址0x18200000保存的是512x512大小的GBA的240x160贴图数据(序列:→↙→)
// 所以GPU做的事情就是将18200000的数据逆时针旋转90°
int src_offset = 160*240*3;
int src_offset = 16*240*3;
int dst_offset = src_offset;
if( g_oafConfig.scaler == 0 )
{