Rename the global configuration file to 86box_global.cfg.
This commit is contained in:
@@ -1054,7 +1054,7 @@ usage:
|
|||||||
/* Build the global configuration file path. */
|
/* Build the global configuration file path. */
|
||||||
if (global == NULL) {
|
if (global == NULL) {
|
||||||
plat_get_global_config_dir(global_cfg_path, sizeof(global_cfg_path));
|
plat_get_global_config_dir(global_cfg_path, sizeof(global_cfg_path));
|
||||||
path_append_filename(global_cfg_path, global_cfg_path, CONFIG_FILE);
|
path_append_filename(global_cfg_path, global_cfg_path, GLOBAL_CONFIG_FILE);
|
||||||
} else {
|
} else {
|
||||||
strncpy(global_cfg_path, global, sizeof(global_cfg_path) - 1);
|
strncpy(global_cfg_path, global, sizeof(global_cfg_path) - 1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,9 +38,10 @@
|
|||||||
#define SCREEN_RES_Y 480
|
#define SCREEN_RES_Y 480
|
||||||
|
|
||||||
/* Filename and pathname info. */
|
/* Filename and pathname info. */
|
||||||
#define CONFIG_FILE "86box.cfg"
|
#define CONFIG_FILE "86box.cfg"
|
||||||
#define NVR_PATH "nvr"
|
#define GLOBAL_CONFIG_FILE "86box_global.cfg"
|
||||||
#define SCREENSHOT_PATH "screenshots"
|
#define NVR_PATH "nvr"
|
||||||
|
#define SCREENSHOT_PATH "screenshots"
|
||||||
|
|
||||||
/* Recently used images */
|
/* Recently used images */
|
||||||
#define MAX_PREV_IMAGES 10
|
#define MAX_PREV_IMAGES 10
|
||||||
|
|||||||
Reference in New Issue
Block a user