mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 22:34:12 +08:00
修正打不开keys的bug
This commit is contained in:
parent
214e75b009
commit
2035b4e8c4
@ -390,7 +390,11 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
|
|||||||
acl_select_cheat_set( sid );
|
acl_select_cheat_set( sid );
|
||||||
status = DISP_HOLES;
|
status = DISP_HOLES;
|
||||||
}
|
}
|
||||||
else status = DISP_DONE;
|
else if( res == ATP_NO_ACTION)
|
||||||
|
{
|
||||||
|
status = DISP_DONE;
|
||||||
|
}
|
||||||
|
else break;
|
||||||
}
|
}
|
||||||
else if( status == DISP_HOLES )
|
else if( status == DISP_HOLES )
|
||||||
{
|
{
|
||||||
@ -400,9 +404,13 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
|
|||||||
{
|
{
|
||||||
eid = (acl_entryid_t)item;
|
eid = (acl_entryid_t)item;
|
||||||
acl_select_entry(eid, &cnt);
|
acl_select_entry(eid, &cnt);
|
||||||
res = DISP_KEYS;
|
status = DISP_KEYS;
|
||||||
}
|
}
|
||||||
else status = DISP_REGION;
|
else if( res == ATP_NO_ACTION )
|
||||||
|
{
|
||||||
|
status = DISP_REGION;
|
||||||
|
}
|
||||||
|
else break;
|
||||||
}
|
}
|
||||||
else // DISP_KEYS
|
else // DISP_KEYS
|
||||||
{
|
{
|
||||||
@ -412,8 +420,13 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
|
|||||||
char tmp[20];
|
char tmp[20];
|
||||||
ee_sprintf(tmp, "sel %08lx", item);
|
ee_sprintf(tmp, "sel %08lx", item);
|
||||||
DEBUG(tmp);
|
DEBUG(tmp);
|
||||||
|
status = DISP_HOLES;
|
||||||
}
|
}
|
||||||
status = DISP_HOLES;
|
else if( res == ATP_NO_ACTION )
|
||||||
|
{
|
||||||
|
status = DISP_HOLES;
|
||||||
|
}
|
||||||
|
else break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user