This commit is contained in:
twinaphex 2016-11-21 14:09:21 +01:00
parent f8efe1056e
commit cb36bc8d71

View File

@ -14,12 +14,9 @@
*/ */
#include <compat/strl.h> #include <compat/strl.h>
#include <file/file_path.h>
#include "../menu_driver.h" #include "../menu_driver.h"
#include "../menu_cbs.h" #include "../menu_cbs.h"
#include "../menu_navigation.h"
#include "../../file_path_special.h"
#ifdef HAVE_CHEEVOS #ifdef HAVE_CHEEVOS
#include "../../cheevos.h" #include "../../cheevos.h"
@ -38,16 +35,6 @@
return 0; \ return 0; \
} }
static int action_bind_sublabel_generic(
file_list_t *list,
unsigned type, unsigned i,
const char *label, const char *path,
char *s, size_t len)
{
return 0;
}
default_sublabel_macro(action_bind_sublabel_driver_settings_list, MENU_ENUM_SUBLABEL_DRIVER_SETTINGS) default_sublabel_macro(action_bind_sublabel_driver_settings_list, MENU_ENUM_SUBLABEL_DRIVER_SETTINGS)
default_sublabel_macro(action_bind_sublabel_retro_achievements_settings_list, MENU_ENUM_SUBLABEL_RETRO_ACHIEVEMENTS_SETTINGS) default_sublabel_macro(action_bind_sublabel_retro_achievements_settings_list, MENU_ENUM_SUBLABEL_RETRO_ACHIEVEMENTS_SETTINGS)
default_sublabel_macro(action_bind_sublabel_recording_settings_list, MENU_ENUM_SUBLABEL_RECORDING_SETTINGS) default_sublabel_macro(action_bind_sublabel_recording_settings_list, MENU_ENUM_SUBLABEL_RECORDING_SETTINGS)
@ -114,6 +101,15 @@ static int action_bind_sublabel_cheevos_entry(
return 0; return 0;
} }
static int action_bind_sublabel_generic(
file_list_t *list,
unsigned type, unsigned i,
const char *label, const char *path,
char *s, size_t len)
{
return 0;
}
int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
const char *path, const char *label, unsigned type, size_t idx) const char *path, const char *label, unsigned type, size_t idx)
{ {