diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index c301995992..be138e1038 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -60,7 +60,7 @@ #ifdef HAVE_NETWORKING static void print_buf_lines(file_list_t *list, char *buf, const char *label, int buf_size, - enum menu_file_type type) + enum msg_file_type type) { char c; int i, j = 0; @@ -155,7 +155,7 @@ static void print_buf_lines(file_list_t *list, char *buf, } static void print_buf_lines_extended(file_list_t *list, char *buf, int buf_size, - enum menu_file_type type) + enum msg_file_type type) { char c; int i, j = 0; @@ -3206,7 +3206,7 @@ static int menu_displaylist_parse_generic( bool is_dir; char label[PATH_MAX_LENGTH] = {0}; const char *path = NULL; - enum menu_file_type file_type = FILE_TYPE_NONE; + enum msg_file_type file_type = FILE_TYPE_NONE; switch (str_list->elems[i].attr.i) { @@ -3233,7 +3233,7 @@ static int menu_displaylist_parse_generic( break; } } - file_type = (enum menu_file_type)info->type_default; + file_type = (enum msg_file_type)info->type_default; break; } diff --git a/msg_hash.c b/msg_hash.c index 0f975149c4..be704aea81 100644 --- a/msg_hash.c +++ b/msg_hash.c @@ -187,7 +187,7 @@ uint32_t msg_hash_calculate(const char *s) #define HASH_EXTENSION_ISO 0x0b8880d0U #define HASH_EXTENSION_ISO_UPPERCASE 0x0b87f470U -enum menu_file_type msg_hash_to_file_type(uint32_t hash) +enum msg_file_type msg_hash_to_file_type(uint32_t hash) { switch (hash) { diff --git a/msg_hash.h b/msg_hash.h index a9c2d37567..268dba865b 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -24,7 +24,7 @@ RETRO_BEGIN_DECLS -enum menu_file_type +enum msg_file_type { FILE_TYPE_NONE = 0, FILE_TYPE_PLAIN, @@ -1977,7 +1977,7 @@ int menu_hash_get_help_us(uint32_t hash, char *s, size_t len); int menu_hash_get_help(uint32_t hash, char *s, size_t len); -enum menu_file_type msg_hash_to_file_type(uint32_t hash); +enum msg_file_type msg_hash_to_file_type(uint32_t hash); uint32_t msg_hash_calculate(const char *s);