mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Implement Triforce ID parsing
This commit is contained in:
@ -34,6 +34,7 @@ public:
|
||||
const Partition& partition = PARTITION_NONE) const override;
|
||||
const FileSystem* GetFileSystem(const Partition& partition = PARTITION_NONE) const override;
|
||||
std::string GetGameTDBID(const Partition& partition = PARTITION_NONE) const override;
|
||||
std::string GetTriforceID() const override;
|
||||
std::map<Language, std::string> GetShortNames() const override;
|
||||
std::map<Language, std::string> GetLongNames() const override;
|
||||
std::map<Language, std::string> GetShortMakers() const override;
|
||||
@ -76,6 +77,13 @@ private:
|
||||
// (only one for BNR1 type)
|
||||
};
|
||||
|
||||
struct BootID
|
||||
{
|
||||
u32 magic; // "BTID"
|
||||
u32 padding[11];
|
||||
std::array<char, 4> id;
|
||||
};
|
||||
|
||||
struct ConvertedGCBanner
|
||||
{
|
||||
ConvertedGCBanner();
|
||||
@ -105,6 +113,7 @@ private:
|
||||
std::unique_ptr<BlobReader> m_reader;
|
||||
|
||||
bool m_is_triforce;
|
||||
std::array<char, 4> m_triforce_id;
|
||||
};
|
||||
|
||||
} // namespace DiscIO
|
||||
|
Reference in New Issue
Block a user