(RMenu XUI) Move to new filebrowser dir popping logic

This commit is contained in:
twinaphex 2013-04-12 09:58:16 +02:00
parent 4e188a0e00
commit 8d8abcbdc5

View File

@ -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;