diff --git a/src/common/console/c_enginecmds.cpp b/src/common/console/c_enginecmds.cpp index 4ce05c816..0845ac822 100644 --- a/src/common/console/c_enginecmds.cpp +++ b/src/common/console/c_enginecmds.cpp @@ -341,17 +341,17 @@ CCMD(printlocalized) } -UNSAFE_CCMD(opensaves) +CCMD(opensaves) { I_OpenShellFolder(M_GetSavegamesPath().GetChars()); } -UNSAFE_CCMD(openscreenshots) +CCMD(openscreenshots) { I_OpenShellFolder(M_GetScreenshotsPath().GetChars()); } -UNSAFE_CCMD(openconfig) +CCMD(openconfig) { I_OpenShellFile(M_GetConfigPath(false).GetChars()); } diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index a69447894..d8024a646 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -380,6 +380,9 @@ OptionMenu "OptionsMenu" protected SafeCommand "$OPTMNU_WRITEINI", "writeini" Command "$OPTMNU_CONSOLE", "menuconsole" + Command "$OPTMNU_OPENCONFIG", "openconfig" + Command "$OPTMNU_OPENSCREENSHOTS", "openscreenshots" + Command "$OPTMNU_OPENSAVES", "opensaves" StaticText " " }