From f988c1bdcfaf3a992d6f4d49204cb5358fd298e4 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Tue, 7 Mar 2023 21:59:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=A3=80=E6=B5=8B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/open_agb_firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index 9922d83..58740e2 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -816,7 +816,7 @@ static void gbaGfxHandler(void *args) { u16 *hid_set = (u16*)0x10141112; u16 *hid_mode = (u16*)0x10141110; - if( hid_mode == 0 ) + if( *hid_mode == 0 ) { *hid_mode = detect_cheatKey; *hid_set = detect_cheatKey;