mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-05 21:34:11 +08:00
Compare commits
3 Commits
b190f926ff
...
dcee449bf7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
dcee449bf7 | ||
![]() |
5cddfb2597 | ||
![]() |
ffa0de811c |
@ -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);
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user