mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-03 07:22:15 +00:00
Create FILE_PATH_CORE_OPTIONS_CONFIG
This commit is contained in:
parent
35b078857d
commit
d2eeb6fab0
@ -26,7 +26,8 @@ enum file_path_enum
|
||||
{
|
||||
FILE_PATH_UNKNOWN = 0,
|
||||
FILE_PATH_CONTENT_HISTORY,
|
||||
FILE_PATH_MAIN_CONFIG
|
||||
FILE_PATH_MAIN_CONFIG,
|
||||
FILE_PATH_CORE_OPTIONS_CONFIG
|
||||
};
|
||||
|
||||
enum application_special_type
|
||||
|
@ -21,6 +21,8 @@ const char *file_path_str(enum file_path_enum enum_idx)
|
||||
{
|
||||
case FILE_PATH_CONTENT_HISTORY:
|
||||
return "content_history.lpl";
|
||||
case FILE_PATH_CORE_OPTIONS_CONFIG:
|
||||
return "retroarch-core-options.cfg";
|
||||
case FILE_PATH_MAIN_CONFIG:
|
||||
return "retroarch.cfg";
|
||||
case FILE_PATH_UNKNOWN:
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include "movie.h"
|
||||
#include "retroarch.h"
|
||||
#include "runloop.h"
|
||||
#include "file_path_special.h"
|
||||
#include "managers/core_option_manager.h"
|
||||
#include "managers/cheat_manager.h"
|
||||
#include "managers/state_manager.h"
|
||||
@ -1131,7 +1132,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
||||
if (!*options_path && *global->path.config)
|
||||
{
|
||||
fill_pathname_resolve_relative(buf, global->path.config,
|
||||
"retroarch-core-options.cfg", sizeof(buf));
|
||||
file_path_str(FILE_PATH_CORE_OPTIONS_CONFIG), sizeof(buf));
|
||||
options_path = buf;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user