mirror of
https://github.com/libretro/RetroArch
synced 2025-03-22 16:20:58 +00:00
Reorder struct
This commit is contained in:
parent
81fc3a1361
commit
7e84d9a93b
@ -39,11 +39,6 @@
|
|||||||
* with a manual content scan */
|
* with a manual content scan */
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
bool search_recursively;
|
|
||||||
bool search_archives;
|
|
||||||
bool filter_dat_content;
|
|
||||||
bool overwrite_playlist;
|
|
||||||
|
|
||||||
enum manual_content_scan_system_name_type system_name_type;
|
enum manual_content_scan_system_name_type system_name_type;
|
||||||
enum manual_content_scan_core_type core_type;
|
enum manual_content_scan_core_type core_type;
|
||||||
|
|
||||||
@ -56,6 +51,11 @@ typedef struct
|
|||||||
char file_exts_core[PATH_MAX_LENGTH];
|
char file_exts_core[PATH_MAX_LENGTH];
|
||||||
char file_exts_custom[PATH_MAX_LENGTH];
|
char file_exts_custom[PATH_MAX_LENGTH];
|
||||||
char dat_file_path[PATH_MAX_LENGTH];
|
char dat_file_path[PATH_MAX_LENGTH];
|
||||||
|
|
||||||
|
bool search_recursively;
|
||||||
|
bool search_archives;
|
||||||
|
bool filter_dat_content;
|
||||||
|
bool overwrite_playlist;
|
||||||
} scan_settings_t;
|
} scan_settings_t;
|
||||||
|
|
||||||
/* TODO/FIXME - static public global variables */
|
/* TODO/FIXME - static public global variables */
|
||||||
@ -69,10 +69,6 @@ typedef struct
|
|||||||
* are not thread safe, but we only access them when pushing a
|
* are not thread safe, but we only access them when pushing a
|
||||||
* task, not in the task thread itself, so all is well) */
|
* task, not in the task thread itself, so all is well) */
|
||||||
static scan_settings_t scan_settings = {
|
static scan_settings_t scan_settings = {
|
||||||
true, /* search_recursively */
|
|
||||||
false, /* search_archives */
|
|
||||||
false, /* filter_dat_content */
|
|
||||||
false, /* overwrite_playlist */
|
|
||||||
MANUAL_CONTENT_SCAN_SYSTEM_NAME_CONTENT_DIR, /* system_name_type */
|
MANUAL_CONTENT_SCAN_SYSTEM_NAME_CONTENT_DIR, /* system_name_type */
|
||||||
MANUAL_CONTENT_SCAN_CORE_DETECT, /* core_type */
|
MANUAL_CONTENT_SCAN_CORE_DETECT, /* core_type */
|
||||||
"", /* content_dir */
|
"", /* content_dir */
|
||||||
@ -84,6 +80,10 @@ static scan_settings_t scan_settings = {
|
|||||||
"", /* file_exts_core */
|
"", /* file_exts_core */
|
||||||
"", /* file_exts_custom */
|
"", /* file_exts_custom */
|
||||||
"", /* dat_file_path */
|
"", /* dat_file_path */
|
||||||
|
true, /* search_recursively */
|
||||||
|
false, /* search_archives */
|
||||||
|
false, /* filter_dat_content */
|
||||||
|
false /* overwrite_playlist */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*****************/
|
/*****************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user