mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Move the ticket code to ESFormats
This moves some parsing code for tickets and ticket views to ESFormats instead of duplicating it over DiscIO and Core.
This commit is contained in:
@ -88,7 +88,7 @@ bool WiiWAD::ParseWAD(IBlobReader& reader)
|
||||
u32 offset = 0x40;
|
||||
m_certificate_chain = CreateWADEntry(reader, certificate_chain_size, offset);
|
||||
offset += Common::AlignUp(certificate_chain_size, 0x40);
|
||||
m_ticket = CreateWADEntry(reader, ticket_size, offset);
|
||||
m_ticket.SetBytes(CreateWADEntry(reader, ticket_size, offset));
|
||||
offset += Common::AlignUp(ticket_size, 0x40);
|
||||
m_tmd = CreateWADEntry(reader, tmd_size, offset);
|
||||
offset += Common::AlignUp(tmd_size, 0x40);
|
||||
|
Reference in New Issue
Block a user