Added SETTINGS folder creating for PMem files

This commit is contained in:
GullCode 2023-04-30 18:41:24 +02:00
parent 0cb8c9200a
commit 81752c8d78

View File

@ -410,6 +410,10 @@ namespace ui {
bool load_mem_at_startup = false ;
File pmem_flag_file_handle ;
std::string folder = "SETTINGS";
make_new_directory(folder);
std::string pmem_flag_file = "/SETTINGS/PMEM_FILEFLAG" ;
auto result = pmem_flag_file_handle.open(pmem_flag_file);
if(!result.is_valid())