Write null memory at end of t6 fastfiles like the original linker does because the game's reader needs it for some reason

This commit is contained in:
Jan
2021-03-22 09:49:42 +01:00
parent d99eb0ab24
commit 1058ee7881
8 changed files with 91 additions and 10 deletions

View File

@ -30,6 +30,9 @@ namespace T6
static constexpr int OFFSET_BLOCK_BIT_COUNT = 3;
static constexpr block_t INSERT_BLOCK = XFILE_BLOCK_VIRTUAL;
static constexpr size_t FILE_SUFFIX_ZERO_MIN_SIZE = 0x40;
static constexpr size_t FILE_SUFFIX_ZERO_ALIGN = 0x40;
static constexpr const char* MAGIC_AUTH_HEADER = "PHEEBs71";
inline static const uint8_t SALSA20_KEY_TREYARCH[]
{