Rename menu_file_type to msg_file_type

This commit is contained in:
twinaphex 2016-06-28 12:19:18 +02:00
parent 13dd8e4905
commit d94098cca1
3 changed files with 7 additions and 7 deletions

View File

@ -60,7 +60,7 @@
#ifdef HAVE_NETWORKING #ifdef HAVE_NETWORKING
static void print_buf_lines(file_list_t *list, char *buf, static void print_buf_lines(file_list_t *list, char *buf,
const char *label, int buf_size, const char *label, int buf_size,
enum menu_file_type type) enum msg_file_type type)
{ {
char c; char c;
int i, j = 0; 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, 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; char c;
int i, j = 0; int i, j = 0;
@ -3206,7 +3206,7 @@ static int menu_displaylist_parse_generic(
bool is_dir; bool is_dir;
char label[PATH_MAX_LENGTH] = {0}; char label[PATH_MAX_LENGTH] = {0};
const char *path = NULL; 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) switch (str_list->elems[i].attr.i)
{ {
@ -3233,7 +3233,7 @@ static int menu_displaylist_parse_generic(
break; break;
} }
} }
file_type = (enum menu_file_type)info->type_default; file_type = (enum msg_file_type)info->type_default;
break; break;
} }

View File

@ -187,7 +187,7 @@ uint32_t msg_hash_calculate(const char *s)
#define HASH_EXTENSION_ISO 0x0b8880d0U #define HASH_EXTENSION_ISO 0x0b8880d0U
#define HASH_EXTENSION_ISO_UPPERCASE 0x0b87f470U #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) switch (hash)
{ {

View File

@ -24,7 +24,7 @@
RETRO_BEGIN_DECLS RETRO_BEGIN_DECLS
enum menu_file_type enum msg_file_type
{ {
FILE_TYPE_NONE = 0, FILE_TYPE_NONE = 0,
FILE_TYPE_PLAIN, 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); 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); uint32_t msg_hash_calculate(const char *s);