mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00:00
DiscIO: Small VolumeDirectory simplifications
This commit is contained in:
parent
3df344ed38
commit
3a9e382661
2 changed files with 26 additions and 54 deletions
|
@ -139,13 +139,14 @@ private:
|
|||
u64 m_fst_address;
|
||||
u64 m_dol_address;
|
||||
|
||||
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;
|
||||
static constexpr u8 ENTRY_SIZE = 0x0c;
|
||||
static constexpr u8 FILE_ENTRY = 0;
|
||||
static constexpr u8 DIRECTORY_ENTRY = 1;
|
||||
static constexpr u64 DISKHEADER_ADDRESS = 0;
|
||||
static constexpr u64 DISKHEADERINFO_ADDRESS = 0x440;
|
||||
static constexpr u64 APPLOADER_ADDRESS = 0x2440;
|
||||
static const size_t MAX_NAME_LENGTH = 0x3df;
|
||||
static const size_t MAX_ID_LENGTH = 6;
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue