force VolumeDirectory to align files to 32KB (only streaming audio files really need to be aligned...)

This commit is contained in:
Shawn Hoffman
2012-04-23 00:38:58 -07:00
parent 5ceef0c513
commit 26521aa66a
4 changed files with 25 additions and 17 deletions

View File

@ -141,6 +141,16 @@ private:
u64 m_DOLSize;
u8* m_DOL;
static const u8 ENTRY_SIZE = 0x0c;
static const u8 FILE_ENTRY = 0;
static const u8 DIRECTORY_ENTRY = 1;
static const u64 DISKHEADER_ADDRESS = 0;
static const u64 DISKHEADERINFO_ADDRESS = 0x440;
static const u64 APPLOADER_ADDRESS = 0x2440;
static const u32 MAX_NAME_LENGTH = 0x3df;
u64 FST_ADDRESS;
u64 DOL_ADDRESS;
};
} // namespace