This commit is contained in:
anod 2023-03-11 21:32:44 +08:00
parent 8ccbf18cd7
commit bacdb1e4c1

View File

@ -481,6 +481,7 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
path[pathlen] = '/';
safeStrcpy( path+pathlen+1, file, DIRBUFFSIZE - filelen );
return WAIT_ON_ACT( disp_str("即将加载serial", 1, NULL) );
#define RECOVER_PATH path[pathlen] = '\0'
// 确定game serial
@ -491,7 +492,6 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
return WAIT_ON_ERRPAGE( display_noserial );
}
else RECOVER_PATH;
return WAIT_ON_ACT( disp_str("完成加载serial", 1, NULL) );
acl_count_t len;
if( ACHTLIB_SUCCESS != acl_open_lib( "gba.acl" ) )