Compare commits

...

3 Commits

2 changed files with 4 additions and 3 deletions

View File

@ -76,9 +76,10 @@ int main()
int reboot = 0;
strncpy( firm_path, FIRMPATH_INCOME, FIRMPATH_SIZELIMIT );
Result res = fMount(FS_DRIVE_SDMC);
Result res; //= fMount(FS_DRIVE_SDMC);
bool direct_off = false;
if(res == RES_OK) res = oafParseConfigEarly();
//if(res == RES_OK)
res = oafParseConfigEarly();
GFX_init(GFX_BGR8, GFX_BGR565, GFX_TOP_2D);
setBacklight();
consoleInit(GFX_LCD_BOT, NULL);

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.