mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 22:34:12 +08:00
log
This commit is contained in:
parent
a2f51eeb15
commit
3e9c21b605
@ -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) )
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user