From 3e9c21b60544fed8cc578acf541f51d89d54f2c8 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Sat, 11 Mar 2023 22:27:52 +0800 Subject: [PATCH] log --- source/arm11/acl.c | 1 - source/arm11/filebrowser.c | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/arm11/acl.c b/source/arm11/acl.c index 7330942..5570f06 100644 --- a/source/arm11/acl.c +++ b/source/arm11/acl.c @@ -182,7 +182,6 @@ acl_error_t acl_select_game( acl_text_t game, acl_boolean_t filter, acl_count_t extern void log( const char * ); CheatLib *inst = (CheatLib*)&gblcht; FHandle fd; - log( game ); if( inst->serc == 0 ) return ACHTLIB_NOT_OPEN; if( strlen(game) != ACL_GBA_CODELEN ) return ACHTLIB_NOT_FOUND; if( RES_OK != fOpen(&fd, inst->aclfile, FA_OPEN_EXISTING | FA_READ) ) diff --git a/source/arm11/filebrowser.c b/source/arm11/filebrowser.c index 51ef99d..3447117 100644 --- a/source/arm11/filebrowser.c +++ b/source/arm11/filebrowser.c @@ -497,12 +497,13 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a if( ACHTLIB_SUCCESS != acl_open_lib( "gba.acl" ) ) { return WAIT_ON_ERRPAGE( display_openlib ); - } + }log("open lib success"); if( ACHTLIB_SUCCESS != acl_select_game( serial, 0, &len ) ) { + log("select game failed"); acl_close_lib(); return WAIT_ON_ERRPAGE( display_selcht ); - } + }log("select game done"); if( len == 0 ) { acl_close_lib();