mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 11:08:56 +00:00
DiscIO/DirectoryBlob: Add a content source representing a run of padding bytes.
This commit is contained in:
parent
f8611f7139
commit
b1802f6daa
2 changed files with 14 additions and 1 deletions
|
@ -71,10 +71,18 @@ struct ContentVolume
|
|||
Partition m_partition;
|
||||
};
|
||||
|
||||
// Content chunk representing a run of identical bytes.
|
||||
// Useful for padding between chunks within a file.
|
||||
struct ContentFixedByte
|
||||
{
|
||||
u8 m_byte;
|
||||
};
|
||||
|
||||
using ContentSource = std::variant<ContentFile, // File
|
||||
const u8*, // Memory
|
||||
ContentPartition, // Partition
|
||||
ContentVolume // Volume
|
||||
ContentVolume, // Volume
|
||||
ContentFixedByte // Fixed value padding
|
||||
>;
|
||||
|
||||
class DiscContent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue