mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 12:40:07 +00:00
Add a warning message if XDG_CONFIG_HOME is not found.
This commit is contained in:
parent
672824539c
commit
2137ca8e3f
@ -201,6 +201,9 @@ static void parse_config_file(void)
|
||||
conf = config_file_new("ssnes.cfg");
|
||||
#else
|
||||
const char *xdg = getenv("XDG_CONFIG_HOME");
|
||||
if (!xdg)
|
||||
SSNES_WARN("XDG_CONFIG_HOME is not defined. Will look for config in $HOME/.ssnesrc ...\n");
|
||||
|
||||
const char *home = getenv("HOME");
|
||||
if (xdg)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user