mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 11:18:35 -07:00
Fix build pt2 (forgor this too 💀)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user