- [NEW] Function "configfolder()"

This commit is contained in:
2023-02-01 19:15:18 +01:00
parent f457075c49
commit 38e209fa76
5 changed files with 18 additions and 1 deletions

View File

@@ -170,6 +170,11 @@ void file_setconfigfolder(const char *foldername)
}
}
const char *file_getconfigfolder() {
std::string folder = config_folder + "/";
return folder.c_str();
}
void file_loadconfigvalues() {
config.clear();
std::string config_file = config_folder + "/config.txt";