mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
修正编译错误
This commit is contained in:
parent
03481a4f43
commit
422049a6b5
@ -518,8 +518,9 @@ const char *key_name[] = {
|
||||
const u16 key_val[] = {
|
||||
KEY_DUP, KEY_DDOWN, KEY_DLEFT, KEY_DRIGHT, KEY_A, KEY_B, KEY_L, KEY_R, KEY_SELECT, KEY_START, KEY_X, KEY_Y, KEY_ZL, KEY_ZR
|
||||
};
|
||||
static atp_error_t select_hostkey( atp_callerdata_t mix, atp_counter_t index, atp_itemcfg_t *cfg )
|
||||
static atp_error_t select_hostkey( atp_callerdata_t data, atp_counter_t index, atp_itemcfg_t *cfg )
|
||||
{
|
||||
u32 mix = (u32)data;
|
||||
u16 len = mix & 0xffff;
|
||||
u16 key = mix >> 16;
|
||||
if( len == 1 ) // cheat
|
||||
|
Loading…
x
Reference in New Issue
Block a user