mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-12 19:56:59 +08:00
换个名字看看有没有输出日志
This commit is contained in:
parent
bba6664788
commit
7b53dc939b
@ -290,12 +290,12 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
|
|||||||
|
|
||||||
if( pathlen + filelen > DIRBUFFSIZE - 1)
|
if( pathlen + filelen > DIRBUFFSIZE - 1)
|
||||||
{
|
{
|
||||||
fsQuickWrite("serial.txt", "00", 2);
|
fsQuickWrite("log.txt", "00", 2);
|
||||||
return WAIT_ON_ERRPAGE( display_toolong );
|
return WAIT_ON_ERRPAGE( display_toolong );
|
||||||
}
|
}
|
||||||
else if( ENT_TYPE_DIR == dList->ptrs[index][0] )
|
else if( ENT_TYPE_DIR == dList->ptrs[index][0] )
|
||||||
{
|
{
|
||||||
fsQuickWrite("serial.txt", "11", 2);
|
fsQuickWrite("log.txt", "11", 2);
|
||||||
return WAIT_ON_ERRPAGE( display_empty );
|
return WAIT_ON_ERRPAGE( display_empty );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -309,7 +309,7 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
|
|||||||
{
|
{
|
||||||
RECOVER_PATH;
|
RECOVER_PATH;
|
||||||
serial[4] = '1';
|
serial[4] = '1';
|
||||||
fsQuickWrite("serial.txt", serial, 5);
|
fsQuickWrite("log.txt", serial, 5);
|
||||||
return WAIT_ON_ERRPAGE( display_noserial );
|
return WAIT_ON_ERRPAGE( display_noserial );
|
||||||
}
|
}
|
||||||
else RECOVER_PATH;
|
else RECOVER_PATH;
|
||||||
@ -318,14 +318,14 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
|
|||||||
if( RES_OK != acl_open_lib( "gba.acl" ) )
|
if( RES_OK != acl_open_lib( "gba.acl" ) )
|
||||||
{
|
{
|
||||||
serial[4] = '2';
|
serial[4] = '2';
|
||||||
fsQuickWrite("serial.txt", serial, 5);
|
fsQuickWrite("log.txt", serial, 5);
|
||||||
return WAIT_ON_ERRPAGE( display_openlib );
|
return WAIT_ON_ERRPAGE( display_openlib );
|
||||||
}
|
}
|
||||||
if( RES_OK != acl_select_game( serial, 0, &len ) )
|
if( RES_OK != acl_select_game( serial, 0, &len ) )
|
||||||
{
|
{
|
||||||
acl_close_lib();
|
acl_close_lib();
|
||||||
serial[4] = '3';
|
serial[4] = '3';
|
||||||
fsQuickWrite("serial.txt", serial, 5);
|
fsQuickWrite("log.txt", serial, 5);
|
||||||
return WAIT_ON_ERRPAGE( display_selcht );
|
return WAIT_ON_ERRPAGE( display_selcht );
|
||||||
}
|
}
|
||||||
if( len == 0 )
|
if( len == 0 )
|
||||||
@ -333,11 +333,11 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
|
|||||||
atp_tips( "", NULL );
|
atp_tips( "", NULL );
|
||||||
acl_close_lib();
|
acl_close_lib();
|
||||||
serial[4] = '4';
|
serial[4] = '4';
|
||||||
fsQuickWrite("serial.txt", serial, 5);
|
fsQuickWrite("log.txt", serial, 5);
|
||||||
return WAIT_ON_ERRPAGE( display_nocheat );
|
return WAIT_ON_ERRPAGE( display_nocheat );
|
||||||
}
|
}
|
||||||
|
|
||||||
fsQuickWrite("serial.txt", serial, 4);
|
fsQuickWrite("log.txt", serial, 4);
|
||||||
|
|
||||||
// 显示配置页面
|
// 显示配置页面
|
||||||
atp_error_t res;
|
atp_error_t res;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user