From 9737057cb15fce4e2facfd92113a31b583c1b86c Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Tue, 7 Mar 2023 14:38:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=BC=96=E8=AF=91=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/filebrowser.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/arm11/filebrowser.c b/source/arm11/filebrowser.c index a1ac4e8..e32e00f 100644 --- a/source/arm11/filebrowser.c +++ b/source/arm11/filebrowser.c @@ -425,11 +425,12 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a if( res == ATP_SUCCESS ) { defi = item; - acl_chtid_t sid, ccid; - acl_elemlen_t len, cclen; + acl_chtid_t sid; + acl_elemlen_t len; + u32 ccid, cclen; acl_query_cheat_set((acl_index_t)item, &sid, NULL ); acl_select_cheat_set( sid ); - acl_select_entry(0, len); + acl_select_entry(0, &len); if( CCHT_OK == info_current_cheat(&ccid, &cclen) ) { // SKIP the init process when id and len is the same