继续测试空白页面

This commit is contained in:
anod 2023-01-18 17:08:57 +08:00
parent ba6c882302
commit b844e91b18

View File

@ -320,28 +320,21 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
else RECOVER_PATH;
acl_count_t len;
if( RES_OK != acl_open_lib( "gba.acl" ) )
if( ACHTLIB_SUCCESS != acl_open_lib( "gba.acl" ) )
{
serial[4] = '2';
fsQuickWrite("log.txt", serial, 5);
return WAIT_ON_ERRPAGE( display_openlib );
}
if( RES_OK != acl_select_game( serial, 0, &len ) )
if( ACHTLIB_SUCCESS != acl_select_game( serial, 0, &len ) )
{
acl_close_lib();
serial[4] = '3';
fsQuickWrite("log.txt", serial, 5);
return WAIT_ON_ERRPAGE( display_selcht );
}
if( len == 0 )
{
acl_close_lib();
serial[4] = '4';
fsQuickWrite("log.txt", serial, 5);
return WAIT_ON_ERRPAGE( display_nocheat );
}
//fsQuickWrite("log.txt", serial, 4);
fsQuickWrite("log.txt", serial, 4);
// 显示配置页面
atp_error_t res;