修正一下bug

This commit is contained in:
anod 2023-04-27 11:01:51 +08:00
parent 7c6d8690e8
commit 6090ec83a9

View File

@ -41,7 +41,7 @@ void keyremix_freeze()
{ {
temp[j].remix_type = p->remix_type; temp[j].remix_type = p->remix_type;
temp[j].device_keys = p->device_keys; temp[j].device_keys = p->device_keys;
temp[j].remix_type = p->remix_type; temp[j].game_keys = p->game_keys;
if( p->device_keys & CON_KEY_MASK ) if( p->device_keys & CON_KEY_MASK )
blind_conkey |= p->device_keys; blind_conkey |= p->device_keys;
++j; ++j;
@ -98,5 +98,7 @@ void keyremix_update( uint16_t active_cheatkey )
} }
} }
prev_status = now; prev_status = now;
*hid_mode = CON_KEY_MASK;
*hid_set = res;
} }
} }