加日志看看release编译出了啥问题

This commit is contained in:
anod 2023-03-11 18:38:58 +08:00
parent ee1b82ae8e
commit 471611665a

View File

@ -491,12 +491,14 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
return WAIT_ON_ERRPAGE( display_noserial ); return WAIT_ON_ERRPAGE( display_noserial );
} }
else RECOVER_PATH; else RECOVER_PATH;
debug_printf("get serial: %s\n", serial);
acl_count_t len; acl_count_t len;
if( ACHTLIB_SUCCESS != acl_open_lib( "gba.acl" ) ) if( ACHTLIB_SUCCESS != acl_open_lib( "gba.acl" ) )
{ {
return WAIT_ON_ERRPAGE( display_openlib ); return WAIT_ON_ERRPAGE( display_openlib );
} }
debug_printf("open lib\n");
if( ACHTLIB_SUCCESS != acl_select_game( serial, 0, &len ) ) if( ACHTLIB_SUCCESS != acl_select_game( serial, 0, &len ) )
{ {
acl_close_lib(); acl_close_lib();