mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 03:15:45 +00:00
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:
parent
ec90b81b27
commit
1207174abb
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ struct Entry {
|
||||||
filename[copy_size] = '\0';
|
filename[copy_size] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
char filename[0x300];
|
char filename[0x301];
|
||||||
INSERT_PADDING_BYTES(4);
|
INSERT_PADDING_BYTES(3);
|
||||||
EntryType type;
|
EntryType type;
|
||||||
INSERT_PADDING_BYTES(3);
|
INSERT_PADDING_BYTES(3);
|
||||||
u64 file_size;
|
u64 file_size;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue