Skip to content

Commit

Permalink
Fix cannot back to home on empty rom folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pebri86 committed Nov 4, 2019
1 parent 88fccd3 commit ee1c12f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions esplay-sdk/esplay-components/esplay-ui/esplay-ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,14 @@ char *ui_file_chooser(const char *path, const char *filter, int currentItem, cha
break;
}
}
else
{
if (!prevKey.values[GAMEPAD_INPUT_B] && key.values[GAMEPAD_INPUT_B])
{
vTaskDelay(10);
break;
}
}

prevKey = key;
vTaskDelay(10 / portTICK_PERIOD_MS);
Expand Down

0 comments on commit ee1c12f

Please sign in to comment.