diff --git a/source/arm11/anopatch.c b/source/arm11/anopatch.c index db16f1f..0cebbb9 100644 --- a/source/arm11/anopatch.c +++ b/source/arm11/anopatch.c @@ -2,6 +2,7 @@ // 原来使用的代码,但我修改的内容又用到了,所以我就得 // 在这里自己实现一份 #include "arm11/anopatch.h" +#include "arm11/drivers/lcd.h" void setBrightness(u16 brightness) { diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index 019575e..862b75e 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -1057,7 +1057,7 @@ Result oafInitAndRun( char *firm_path, bool *direct_off ) else if( g_oafConfig.scaler == 3u ) { 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); } patchGbaGpuCmdList(g_oafConfig.scaler, use_border);