- fix issue #1708 - respect user preferences when specifying custom save/config/screenshot paths

This commit is contained in:
Rachael Alexanderson 2022-08-14 15:03:20 -04:00
commit 03d76027cf
5 changed files with 68 additions and 18 deletions

View file

@ -54,9 +54,6 @@
#include "md5.h"
#include "i_specialpaths.h"
void I_OpenShellFolder(const char*);
void I_OpenShellFile(const char*);
extern FILE* Logfile;
CCMD (quit)
@ -341,18 +338,3 @@ CCMD(printlocalized)
}
CCMD(opensaves)
{
I_OpenShellFolder(M_GetSavegamesPath().GetChars());
}
CCMD(openscreenshots)
{
I_OpenShellFolder(M_GetScreenshotsPath().GetChars());
}
CCMD(openconfig)
{
I_OpenShellFile(M_GetConfigPath(false).GetChars());
}