mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DiscIO/DirectoryBlob: Add a content source representing a run of padding bytes.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user