From 1670ae1cfa43fb74f00ac5bc6aba96fd0d868456 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 16 Aug 2025 18:57:07 +0200 Subject: [PATCH] Rename the global configuration file to 86box_global.cfg. --- src/86box.c | 2 +- src/include/86box/86box.h | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/86box.c b/src/86box.c index c6d68fda2..3a9316663 100644 --- a/src/86box.c +++ b/src/86box.c @@ -1054,7 +1054,7 @@ usage: /* Build the global configuration file path. */ if (global == NULL) { 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 { strncpy(global_cfg_path, global, sizeof(global_cfg_path) - 1); } diff --git a/src/include/86box/86box.h b/src/include/86box/86box.h index 0f850f6f4..7a7296abe 100644 --- a/src/include/86box/86box.h +++ b/src/include/86box/86box.h @@ -38,9 +38,10 @@ #define SCREEN_RES_Y 480 /* Filename and pathname info. */ -#define CONFIG_FILE "86box.cfg" -#define NVR_PATH "nvr" -#define SCREENSHOT_PATH "screenshots" +#define CONFIG_FILE "86box.cfg" +#define GLOBAL_CONFIG_FILE "86box_global.cfg" +#define NVR_PATH "nvr" +#define SCREENSHOT_PATH "screenshots" /* Recently used images */ #define MAX_PREV_IMAGES 10