mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 01:21:03 +00:00
(RMenu XUI) Move to new filebrowser dir popping logic
This commit is contained in:
parent
4e188a0e00
commit
8d8abcbdc5
@ -342,7 +342,13 @@ static void browser_update(filebrowser_t * b, uint64_t input, const char *extens
|
||||
else if (input & (1ULL << RMENU_DEVICE_NAV_L2))
|
||||
action = FILEBROWSER_ACTION_SCROLL_UP;
|
||||
else if (input & (1ULL << RMENU_DEVICE_NAV_A))
|
||||
action = FILEBROWSER_ACTION_CANCEL;
|
||||
{
|
||||
char tmp_str[256];
|
||||
fill_pathname_parent_dir(tmp_str, b->directory_path, sizeof(tmp_str));
|
||||
|
||||
if (tmp_str[0] != '\0')
|
||||
action = FILEBROWSER_ACTION_CANCEL;
|
||||
}
|
||||
else if (input & (1ULL << RMENU_DEVICE_NAV_SELECT))
|
||||
{
|
||||
action = FILEBROWSER_ACTION_RESET;
|
||||
|
Loading…
x
Reference in New Issue
Block a user