Change menu_entry_pathdir_allow_empty's signature

This commit is contained in:
twinaphex 2015-06-02 14:07:47 +02:00
parent 6b3821d41e
commit 3225359606
2 changed files with 4 additions and 2 deletions

View File

@ -289,9 +289,11 @@ void menu_entry_pathdir_selected(uint32_t i)
setting->action_toggle( setting, MENU_ACTION_RIGHT, false);
}
uint32_t menu_entry_pathdir_allow_empty(uint32_t i)
bool menu_entry_pathdir_allow_empty(uint32_t i)
{
rarch_setting_t *setting = menu_entry_get_setting(i);
if (!setting)
return false;
return setting->flags & SD_FLAG_ALLOW_EMPTY;
}

View File

@ -88,7 +88,7 @@ void menu_entry_bind_joyaxis_set(uint32_t i, int32_t value);
void menu_entry_pathdir_selected(uint32_t i);
uint32_t menu_entry_pathdir_allow_empty(uint32_t i);
bool menu_entry_pathdir_allow_empty(uint32_t i);
uint32_t menu_entry_pathdir_for_directory(uint32_t i);