This commit is contained in:
anod 2023-03-11 21:44:56 +08:00
parent 5b6e42bad2
commit bd6d2c9b7e

View File

@ -462,7 +462,6 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
{
return WAIT_ON_ACT( help_page( cheat_off_help, sizeof(cheat_off_help)/sizeof(atp_text_t) ) );
}
return WAIT_ON_ACT( disp_str("即将加载serial", 1, NULL) );
void* *dat = (void **)data;
DirList const *dList = (DirList*)dat[0];
char *path = (char*)dat[1];
@ -479,6 +478,7 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
{
return WAIT_ON_ERRPAGE( display_empty );
}
atp_show(1, disp_str, "即将加载serial" );
path[pathlen] = '/';
safeStrcpy( path+pathlen+1, file, DIRBUFFSIZE - filelen );