Add errors

and prepare for file menu more
and fix that you can't go left right when going up down
This commit is contained in:
SuchMemeManySkill
2020-12-25 00:20:30 +01:00
parent b97bab3661
commit 1a931b0256
16 changed files with 167 additions and 30 deletions

25
source/fs/fstypes.h Normal file
View File

@@ -0,0 +1,25 @@
#pragma once
#include <utils/types.h>
typedef struct {
char *name;
union {
struct {
u8 readOnly:1;
u8 hidden:1;
u8 system:1;
u8 volume:1;
u8 isDir:1;
u8 archive:1;
};
u8 optionUnion;
};
union {
struct {
u16 size:12;
u16 showSize:1;
u16 sizeDef:3;
};
u16 sizeUnion;
};
} FSEntry_t;