Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
support xdg standard directory structure #194
Actually the configuration files are placed on $HOME/.snes9x for store user specific
the file in linux in question is the cpp file gtk/src/gtk_config.cpp with contain in get_config_dir a hardcoded path to fix this a simple change in that file is need.
a bash example is of how showld look is:
than an example in bash that check for snes9x.xml fire in the XDG_USER_DIR and fallback to the old location if not found and again fallback to the sysconfdir if not found too.
this will make snes9x go in line with standard specification used and will not affect old userd if the fallback is used
this is the entire paper abiut the xdg structure https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html