(manual_content_scan.c) Rearrange struct members

(verbosity.c) Add TODO/FIXME
This commit is contained in:
twinaphex 2020-03-07 18:41:39 +01:00
parent 577e254e9e
commit 5a147fe46f
2 changed files with 11 additions and 5 deletions

View File

@ -39,6 +39,13 @@
* with a manual content scan */
typedef struct
{
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;
char content_dir[PATH_MAX_LENGTH];
char system_name_content_dir[PATH_MAX_LENGTH];
char system_name_database[PATH_MAX_LENGTH];
@ -48,11 +55,6 @@ typedef struct
char file_exts_core[PATH_MAX_LENGTH];
char file_exts_custom[PATH_MAX_LENGTH];
char dat_file_path[PATH_MAX_LENGTH];
enum manual_content_scan_system_name_type system_name_type;
enum manual_content_scan_core_type core_type;
bool search_archives;
bool filter_dat_content;
bool overwrite_playlist;
} scan_settings_t;
/* Static settings object

View File

@ -89,9 +89,13 @@ static char log_file_override_path[PATH_MAX_LENGTH] = {0};
#ifdef HAVE_LIBNX
static Mutex logging_mtx;
#ifdef NXLINK
/* TODO/FIXME - global referenced in platform_switch.c - not
* thread-safe */
bool nxlink_connected = false;
#endif /* NXLINK */
#endif /* HAVE_LIBNX */
void verbosity_set_log_level(unsigned level)