mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 06:14:12 +08:00
继续使用下屏作为控制台
This commit is contained in:
parent
6d909f21fe
commit
f74d0996fd
@ -53,7 +53,7 @@ int main(void)
|
||||
if(res == RES_OK) res = oafParseConfigEarly();
|
||||
GFX_init(GFX_BGR8, GFX_RGB565);
|
||||
setBacklight();
|
||||
consoleInit(SCREEN_TOP, NULL);
|
||||
consoleInit(SCREEN_BOT, NULL);
|
||||
//CODEC_init();
|
||||
|
||||
if(res == RES_OK && (res = oafInitAndRun()) == RES_OK)
|
||||
|
@ -864,7 +864,6 @@ u8 oafGetBacklightConfig(void)
|
||||
Result oafInitAndRun(void)
|
||||
{
|
||||
Result res;
|
||||
GFX_setDoubleBuffering(SCREEN_BOT, false);
|
||||
char *const filePath = (char*)calloc(512, 1);
|
||||
if(filePath != NULL)
|
||||
{
|
||||
@ -901,6 +900,7 @@ Result oafInitAndRun(void)
|
||||
// Prepare ARM9 for GBA mode + save loading.
|
||||
if((res = LGY_prepareGbaMode(g_oafConfig.directBoot, saveType, filePath)) == RES_OK)
|
||||
{
|
||||
ee_puts("\x1b[2J");
|
||||
#ifdef NDEBUG
|
||||
// Force black and turn the backlight off on the bottom screen.
|
||||
// Don't turn the backlight off on 2DS (1 panel).
|
||||
|
Loading…
x
Reference in New Issue
Block a user