mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 18:50:29 +00:00
Improve action_switch_thumbnail - if thumbnail mode is 'off', then
pressing 'Y button' will do nothing. If not, you can cycle between all thumbnail modes (except for Off)
This commit is contained in:
parent
6db13ab51d
commit
2aad6bf2bb
@ -91,11 +91,13 @@ int action_switch_thumbnail(const char *path,
|
||||
|
||||
if (!settings)
|
||||
return -1;
|
||||
if (settings->menu.thumbnails == 0)
|
||||
return 0;
|
||||
|
||||
settings->menu.thumbnails++;
|
||||
|
||||
if (settings->menu.thumbnails > 3)
|
||||
settings->menu.thumbnails = 0;
|
||||
settings->menu.thumbnails = 1;
|
||||
|
||||
menu_driver_ctl(RARCH_MENU_CTL_UPDATE_THUMBNAIL_PATH, NULL);
|
||||
menu_driver_ctl(RARCH_MENU_CTL_UPDATE_THUMBNAIL_IMAGE, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user