mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 09:40:06 +00:00
Don't bind default callbacks when they are already bound
This commit is contained in:
parent
8397e66026
commit
6ec91b64dc
@ -3257,11 +3257,9 @@ static void setting_add_special_callbacks(
|
|||||||
switch ((*list)[idx].type)
|
switch ((*list)[idx].type)
|
||||||
{
|
{
|
||||||
case ST_UINT:
|
case ST_UINT:
|
||||||
(*list)[idx].action_start = setting_generic_action_start_default;
|
|
||||||
(*list)[idx].action_cancel = NULL;
|
(*list)[idx].action_cancel = NULL;
|
||||||
break;
|
break;
|
||||||
case ST_HEX:
|
case ST_HEX:
|
||||||
(*list)[idx].action_start = setting_generic_action_start_default;
|
|
||||||
(*list)[idx].action_cancel = NULL;
|
(*list)[idx].action_cancel = NULL;
|
||||||
break;
|
break;
|
||||||
case ST_STRING:
|
case ST_STRING:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user