diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-09-29 10:34:37 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-10-06 19:58:43 +0200 |
commit | fbd72fd6bf0f02a13be207c9d61f630c594e3156 (patch) | |
tree | 766620c93a936e767cc073382573660041c2e193 /src/core/file_sys/directory.h | |
parent | FileSys: Add static asserts for the Directory struct, and fix its fields position. (diff) | |
download | yuzu-fbd72fd6bf0f02a13be207c9d61f630c594e3156.tar yuzu-fbd72fd6bf0f02a13be207c9d61f630c594e3156.tar.gz yuzu-fbd72fd6bf0f02a13be207c9d61f630c594e3156.tar.bz2 yuzu-fbd72fd6bf0f02a13be207c9d61f630c594e3156.tar.lz yuzu-fbd72fd6bf0f02a13be207c9d61f630c594e3156.tar.xz yuzu-fbd72fd6bf0f02a13be207c9d61f630c594e3156.tar.zst yuzu-fbd72fd6bf0f02a13be207c9d61f630c594e3156.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/directory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/directory.h b/src/core/file_sys/directory.h index 9f3546b05..e10431337 100644 --- a/src/core/file_sys/directory.h +++ b/src/core/file_sys/directory.h @@ -19,9 +19,9 @@ namespace FileSys { const size_t FILENAME_LENGTH = 0x20C / 2; struct Entry { char16_t filename[FILENAME_LENGTH]; // Entry name (UTF-16, null-terminated) - char short_name[9]; // 8.3 file name ('longfilename' -> 'LONGFI~1', null-terminated) + std::array<char, 9> short_name; // 8.3 file name ('longfilename' -> 'LONGFI~1', null-terminated) char unknown1; // unknown (observed values: 0x0A, 0x70, 0xFD) - char extension[4]; // 8.3 file extension (set to spaces for directories, null-terminated) + std::array<char, 4> extension; // 8.3 file extension (set to spaces for directories, null-terminated) char unknown2; // unknown (always 0x01) char unknown3; // unknown (0x00 or 0x08) char is_directory; // directory flag |