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