From 7e84d9a93b995b4c48b840e79c49e4da826ad883 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 10 Oct 2020 18:14:03 +0200 Subject: [PATCH] Reorder struct --- manual_content_scan.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/manual_content_scan.c b/manual_content_scan.c index e1cd4a8b98..90b727d21d 100644 --- a/manual_content_scan.c +++ b/manual_content_scan.c @@ -39,11 +39,6 @@ * with a manual content scan */ 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_core_type core_type; @@ -56,6 +51,11 @@ typedef struct char file_exts_core[PATH_MAX_LENGTH]; char file_exts_custom[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; /* TODO/FIXME - static public global variables */ @@ -69,10 +69,6 @@ typedef struct * are not thread safe, but we only access them when pushing a * task, not in the task thread itself, so all is well) */ 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_CORE_DETECT, /* core_type */ "", /* content_dir */ @@ -84,6 +80,10 @@ static scan_settings_t scan_settings = { "", /* file_exts_core */ "", /* file_exts_custom */ "", /* dat_file_path */ + true, /* search_recursively */ + false, /* search_archives */ + false, /* filter_dat_content */ + false /* overwrite_playlist */ }; /*****************/