- [FIX] Eliminat un warning en macOS en jfile

- [WIP] Sistema de release automatic
This commit is contained in:
2026-03-20 08:35:28 +01:00
parent 4a3450e116
commit 6cccd44743
3 changed files with 65 additions and 1 deletions

View File

@@ -78,10 +78,11 @@ bool file_getdictionary() {
fi.read( (char*)&file_size, 4 );
uint8_t path_size;
fi.read( (char*)&path_size, 1 );
char file_name[path_size+1];
char *file_name = (char*)malloc(path_size+1);
fi.read( file_name, path_size );
file_name[path_size] = 0;
std::string filename = file_name;
free(file_name);
toc.push_back({filename, file_size, file_offset});
}
fi.close();