mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-19 01:12:33 +00:00
Add FILE_PATH_BSV_EXTENSION
This commit is contained in:
parent
394cbbef59
commit
86fa52a2ea
@ -61,6 +61,7 @@ enum file_path_enum
|
||||
FILE_PATH_CHT_EXTENSION,
|
||||
FILE_PATH_LPL_EXTENSION,
|
||||
FILE_PATH_RDB_EXTENSION,
|
||||
FILE_PATH_BSV_EXTENSION,
|
||||
FILE_PATH_ZIP_EXTENSION,
|
||||
FILE_PATH_7Z_EXTENSION,
|
||||
FILE_PATH_CONFIG_EXTENSION,
|
||||
|
@ -37,6 +37,8 @@ const char *file_path_str(enum file_path_enum enum_idx)
|
||||
return "[ERROR]";
|
||||
case FILE_PATH_LOG_INFO:
|
||||
return "[INFO]";
|
||||
case FILE_PATH_BSV_EXTENSION:
|
||||
return ".bsv";
|
||||
case FILE_PATH_OPT_EXTENSION:
|
||||
return ".opt";
|
||||
case FILE_PATH_CORE_INFO_EXTENSION:
|
||||
|
@ -46,7 +46,8 @@ struct core_option_manager
|
||||
bool updated;
|
||||
};
|
||||
|
||||
static bool core_option_manager_parse_variable(core_option_manager_t *opt, size_t idx,
|
||||
static bool core_option_manager_parse_variable(
|
||||
core_option_manager_t *opt, size_t idx,
|
||||
const struct retro_variable *var)
|
||||
{
|
||||
const char *val_start = NULL;
|
||||
|
@ -244,7 +244,9 @@ static bool runloop_check_movie_init(void)
|
||||
else
|
||||
strlcpy(path, bsv_movie_get_path(), sizeof(path));
|
||||
|
||||
strlcat(path, ".bsv", sizeof(path));
|
||||
strlcat(path,
|
||||
file_path_str(FILE_PATH_BSV_EXTENSION),
|
||||
sizeof(path));
|
||||
|
||||
snprintf(msg, sizeof(msg), "%s \"%s\".",
|
||||
msg_hash_to_str(MSG_STARTING_MOVIE_RECORD_TO),
|
||||
|
Loading…
x
Reference in New Issue
Block a user