From 08c187886782083dc106fc6f7aa88b8f165a5349 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Mon, 17 Oct 2022 14:18:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=B5=8B=E8=AF=95l/r?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E7=94=A8=E7=9A=84=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/atp.c | 2 +- source/arm11/open_agb_firm.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/arm11/atp.c b/source/arm11/atp.c index 6fc58f5..416d123 100644 --- a/source/arm11/atp.c +++ b/source/arm11/atp.c @@ -311,7 +311,7 @@ atp_error_t atp_select( atp_text_t title, atp_counter_t cnt, atp_itemprovider_t case ATP_PAGE_UPDATE: int row = SELECTED_ROW(idx_top, title_len, item_sel); screen_clean_zone( CONTAINER_LEFTTOP_X, CONTAINER_LEFTTOP_Y+FONT_HEIGHT*(row), CONTAINER_RECT_WIDTH, FONT_HEIGHT ); - //draw_one_option( item_sel, item_sel, row, provider, data ); + draw_one_option( item_sel, item_sel, row, provider, data ); break; default: ; diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index c516d35..cb612aa 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -168,6 +168,7 @@ static atp_pageopt_t config_adjust( atp_callerdata_t data, atp_counter_t index, light += 10; if( light % 10 ) light -= light % 10; } + else light -= 1; if( light > LIGHT_MAX ) light = LIGHT_MAX; else if( light < LIGHT_MIN ) light = LIGHT_MIN; g_oafConfig.backlight = light;