release的时候还有需要处理编译的地方

This commit is contained in:
a92126 2024-10-04 10:28:07 +08:00
parent ffa0de811c
commit 5cddfb2597

View File

@ -1038,7 +1038,7 @@ Result oafInitAndRun( char *firm_path, bool *direct_off )
// Don't turn the backlight off on 2DS (1 panel).
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);
if(MCU_getSystemModel() != 3) GFX_powerOffBacklight(g_oafConfig.scaler==3 ? GFX_BL_TOP : GFX_BL_BOT);
#endif
// Initialize the legacy frame buffer and frame handler.