mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-08 23:04:13 +08:00
调整release版本,试试看能不能跑
This commit is contained in:
parent
fc6c84b132
commit
5ca7fb795d
@ -175,6 +175,7 @@ static atp_error_t display_folder( atp_callerdata_t data, atp_counter_t index, a
|
|||||||
return ATP_SUCCESS; \
|
return ATP_SUCCESS; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DECLARE_ERROR_PAGE( display_nocheat, "金手指功能还在制作中……" )
|
||||||
DECLARE_ERROR_PAGE( display_empty, "没有合适的文件" )
|
DECLARE_ERROR_PAGE( display_empty, "没有合适的文件" )
|
||||||
DECLARE_ERROR_PAGE( display_toolong, "路径过长,改名或移动文件后再试" )
|
DECLARE_ERROR_PAGE( display_toolong, "路径过长,改名或移动文件后再试" )
|
||||||
DECLARE_ERROR_PAGE( display_pathfull, "游戏或目录过量,最多显示999个" )
|
DECLARE_ERROR_PAGE( display_pathfull, "游戏或目录过量,最多显示999个" )
|
||||||
@ -209,6 +210,12 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t, atp_boo
|
|||||||
{
|
{
|
||||||
return ATP_POWER_OFF == oaf_config_page() ? ATP_POWER_OFF : ATP_PAGE_REFRESH;
|
return ATP_POWER_OFF == oaf_config_page() ? ATP_POWER_OFF : ATP_PAGE_REFRESH;
|
||||||
}
|
}
|
||||||
|
else if( x )
|
||||||
|
{
|
||||||
|
atp_tips( "", NULL );
|
||||||
|
return ATP_POWER_OFF == atp_show(1, display_nocheat, NULL)
|
||||||
|
? ATP_POWER_OFF : ATP_PAGE_REFRESH;
|
||||||
|
}
|
||||||
return ATP_PAGE_NOOPTION;
|
return ATP_PAGE_NOOPTION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -919,8 +919,9 @@ Result oafInitAndRun(void)
|
|||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
// Force black and turn the backlight off on the bottom screen.
|
// Force black and turn the backlight off on the bottom screen.
|
||||||
// Don't turn the backlight off on 2DS (1 panel).
|
// Don't turn the backlight off on 2DS (1 panel).
|
||||||
GFX_setForceBlack(false, true);
|
if( g_oafConfig.scaler==3 ) GFX_setForceBlack(true, false);
|
||||||
if(MCU_getSystemModel() != 3) GFX_powerOffBacklights(GFX_BLIGHT_BOT);
|
else GFX_setForceBlack(false, true);
|
||||||
|
if(MCU_getSystemModel() != 3) GFX_powerOffBacklights(g_oafConfig.scaler==3 ? GFX_BLIGHT_TOP : GFX_BLIGHT_BOT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Initialize the legacy frame buffer and frame handler.
|
// Initialize the legacy frame buffer and frame handler.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user