Emulate ES's GetStoredTmd and GetStoredTmdSize commands (patch from issue 1016)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3460 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
itsnotmailmail
2009-06-15 22:27:46 +00:00
parent ac572e9d03
commit d6c40f65ff
3 changed files with 80 additions and 5 deletions

View File

@ -55,6 +55,7 @@ public:
virtual size_t GetContentSize() const = 0;
virtual const SNANDContent* GetContentByIndex(int _Index) const = 0;
virtual const u8* GetTicket() const = 0;
virtual const u8* GetTmdHeader() const = 0;
virtual const std::vector<SNANDContent>& GetContent() const = 0;
virtual const u16 GetTitleVersion() const = 0;
virtual const u16 GetNumEntries() const = 0;
@ -62,7 +63,8 @@ public:
enum
{
TICKET_VIEW_SIZE = 0x58
TICKET_VIEW_SIZE = 0x58,
TMD_HEADER_SIZE = 0x1e4
};
};