mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-11 19:26:57 +08:00
还是处理编译问题,剩余不多了,估计就剩两个了
This commit is contained in:
parent
1de88cdea7
commit
f203e49d52
@ -2,6 +2,7 @@
|
|||||||
// 原来使用的代码,但我修改的内容又用到了,所以我就得
|
// 原来使用的代码,但我修改的内容又用到了,所以我就得
|
||||||
// 在这里自己实现一份
|
// 在这里自己实现一份
|
||||||
#include "arm11/anopatch.h"
|
#include "arm11/anopatch.h"
|
||||||
|
#include "arm11/drivers/lcd.h"
|
||||||
|
|
||||||
void setBrightness(u16 brightness)
|
void setBrightness(u16 brightness)
|
||||||
{
|
{
|
||||||
|
@ -1057,7 +1057,7 @@ Result oafInitAndRun( char *firm_path, bool *direct_off )
|
|||||||
else if( g_oafConfig.scaler == 3u )
|
else if( g_oafConfig.scaler == 3u )
|
||||||
{
|
{
|
||||||
memset(consoleGet()->frameBuffer, 0, 320*240*2);
|
memset(consoleGet()->frameBuffer, 0, 320*240*2);
|
||||||
GFX_setDoubleBuffering( SCREEN_BOT, true );
|
GFX_setDoubleBuffering( GFX_LCD_BOT, true );
|
||||||
GFX_setFormat(GFX_BGR8, GFX_BGR8, GFX_TOP_2D);
|
GFX_setFormat(GFX_BGR8, GFX_BGR8, GFX_TOP_2D);
|
||||||
}
|
}
|
||||||
patchGbaGpuCmdList(g_oafConfig.scaler, use_border);
|
patchGbaGpuCmdList(g_oafConfig.scaler, use_border);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user