From bf184e29b75e30ed7c8c33d6da2899f2a20f6605 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Mon, 17 Oct 2022 13:12:06 +0800 Subject: [PATCH] =?UTF-8?q?lr=E8=BF=98=E6=98=AF=E4=B8=8D=E8=83=BD=E7=94=A8?= =?UTF-8?q?=EF=BC=8C=E5=88=87=E6=8D=A2xy=E8=AF=95=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/open_agb_firm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index f717ce4..4b4bcf6 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -158,12 +158,12 @@ static atp_pageopt_t config_adjust( atp_callerdata_t data, atp_counter_t index, if( index == 0 ) { u8 light = g_oafConfig.backlight; - if( l ) + if( l || x ) { light -= 10; if( light % 10 ) light = light + (10-light%10); } - else if( r ) + else if( r || y ) { light += 10; if( light % 10 ) light = light - light % 10;