Fix build pt2 (forgor this too 💀)

This commit is contained in:
Willy-JL
2023-05-01 15:44:34 +01:00
parent e0b9c2ea3f
commit b19573bcc5

View File

@@ -189,7 +189,7 @@ XtremeApp* xtreme_app_alloc() {
File* folder = storage_file_alloc(storage); File* folder = storage_file_alloc(storage);
FileInfo info; FileInfo info;
char* name = malloc(XTREME_ASSETS_PACK_NAME_LEN); char* name = malloc(XTREME_ASSETS_PACK_NAME_LEN);
if(storage_dir_open(folder, PACKS_DIR)) { if(storage_dir_open(folder, XTREME_ASSETS_PATH)) {
while(storage_dir_read(folder, &info, name, XTREME_ASSETS_PACK_NAME_LEN)) { while(storage_dir_read(folder, &info, name, XTREME_ASSETS_PACK_NAME_LEN)) {
if(info.flags & FSF_DIRECTORY) { if(info.flags & FSF_DIRECTORY) {
char* copy = malloc(XTREME_ASSETS_PACK_NAME_LEN); char* copy = malloc(XTREME_ASSETS_PACK_NAME_LEN);