3
0
Fork 0
forked from suyu/suyu

file_sys/directory: Amend path buffer size for directory entries

The path buffer is actually 0x301 (769) characters in length, with the
extra character being intended for the null-terminator.
This commit is contained in:
Lioncash 2018-12-02 23:15:55 -05:00
parent 7ce17b2cf6
commit 7e2467e695

View file

@ -29,8 +29,8 @@ struct Entry {
filename[copy_size] = '\0';
}
char filename[0x300];
INSERT_PADDING_BYTES(4);
char filename[0x301];
INSERT_PADDING_BYTES(3);
EntryType type;
INSERT_PADDING_BYTES(3);
u64 file_size;