mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-20 09:52:33 +00:00
menu_navigation_ctl - cleanups
This commit is contained in:
parent
5f4827f6d9
commit
1d804951bb
@ -28,7 +28,12 @@
|
||||
bool menu_navigation_ctl(enum menu_navigation_ctl_state state, void *data)
|
||||
{
|
||||
const menu_ctx_driver_t *driver = menu_ctx_driver_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
menu_navigation_t *nav = menu_navigation_get_ptr();
|
||||
menu_list_t *menu_list = menu_list_get_ptr();
|
||||
|
||||
(void)menu_list;
|
||||
(void)settings;
|
||||
|
||||
switch (state)
|
||||
{
|
||||
@ -45,8 +50,6 @@ bool menu_navigation_ctl(enum menu_navigation_ctl_state state, void *data)
|
||||
return true;
|
||||
case MENU_NAVIGATION_CTL_INCREMENT:
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
menu_list_t *menu_list = menu_list_get_ptr();
|
||||
size_t selection = nav->selection_ptr;
|
||||
unsigned *scroll_speed = (unsigned*)data;
|
||||
|
||||
@ -77,8 +80,6 @@ bool menu_navigation_ctl(enum menu_navigation_ctl_state state, void *data)
|
||||
return true;
|
||||
case MENU_NAVIGATION_CTL_DECREMENT:
|
||||
{
|
||||
menu_list_t *menu_list = menu_list_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
size_t selection = nav->selection_ptr;
|
||||
unsigned *scroll_speed = (unsigned*)data;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user