diff --git a/source/arm11/filebrowser.c b/source/arm11/filebrowser.c index 70b2b8e..e01b3fc 100644 --- a/source/arm11/filebrowser.c +++ b/source/arm11/filebrowser.c @@ -175,6 +175,7 @@ static atp_error_t display_folder( atp_callerdata_t data, atp_counter_t index, a return ATP_SUCCESS; \ } +DECLARE_ERROR_PAGE( display_nocheat, "金手指功能还在制作中……" ) DECLARE_ERROR_PAGE( display_empty, "没有合适的文件" ) DECLARE_ERROR_PAGE( display_toolong, "路径过长,改名或移动文件后再试" ) 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; } + 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; } diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index 84302c7..bc4a93c 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -919,8 +919,9 @@ Result oafInitAndRun(void) #ifdef NDEBUG // Force black and turn the backlight off on the bottom screen. // Don't turn the backlight off on 2DS (1 panel). - GFX_setForceBlack(false, true); - if(MCU_getSystemModel() != 3) GFX_powerOffBacklights(GFX_BLIGHT_BOT); + if( g_oafConfig.scaler==3 ) GFX_setForceBlack(true, false); + else GFX_setForceBlack(false, true); + if(MCU_getSystemModel() != 3) GFX_powerOffBacklights(g_oafConfig.scaler==3 ? GFX_BLIGHT_TOP : GFX_BLIGHT_BOT); #endif // Initialize the legacy frame buffer and frame handler.