WIP WIP yes two wips

This commit is contained in:
Christopher Haster
2018-05-28 02:08:16 -05:00
parent fbd25ac533
commit 0e0f015fbd
3 changed files with 308 additions and 31 deletions

5
lfs.h
View File

@@ -117,8 +117,8 @@ enum lfs_type {
// internal sources
LFS_FROM_REGION = 0x000,
LFS_FROM_DISK = 0x001,
LFS_FROM_MOVE = 0x002,
LFS_FROM_DISK = 0x200,
LFS_FROM_MOVE = 0x001,
};
// File open flags
@@ -276,6 +276,7 @@ typedef struct lfs_entry {
lfs_block_t block;
lfs_off_t off;
} d;
struct lfs_dir *dir;
} u;
} lfs_entry_t;