mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
mouse_post_iterate - Deharcode type magic numbers
This commit is contained in:
parent
1d39902e3c
commit
f4c57d11d9
@ -181,8 +181,8 @@ static int mouse_post_iterate(menu_file_list_cbs_t *cbs, const char *path,
|
||||
|
||||
if (menu->mouse.ptr == menu->navigation.selection_ptr
|
||||
&& cbs && cbs->action_toggle && setting &&
|
||||
(setting->type == 2 || setting->type == 4 || setting->type == 5
|
||||
|| setting->type == 8))
|
||||
(setting->type == ST_BOOL || setting->type == ST_UINT || setting->type == ST_FLOAT
|
||||
|| setting->type == ST_STRING))
|
||||
return cbs->action_toggle(type, label, MENU_ACTION_RIGHT);
|
||||
if (menu->mouse.ptr == menu->navigation.selection_ptr
|
||||
&& cbs && cbs->action_ok)
|
||||
|
Loading…
x
Reference in New Issue
Block a user