mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 21:35:28 +00:00
VolumeWiiCrypted: Get title IDs from TicketReader
This commit is contained in:
parent
5c68a03ae4
commit
26f5b53ecb
@ -224,7 +224,11 @@ Partition CVolumeWiiCrypted::GetGamePartition() const
|
||||
|
||||
bool CVolumeWiiCrypted::GetTitleID(u64* buffer, const Partition& partition) const
|
||||
{
|
||||
return m_pReader->ReadSwapped(partition.offset + 0x1DC, buffer);
|
||||
const IOS::ES::TicketReader& ticket = GetTicket(partition);
|
||||
if (!ticket.IsValid())
|
||||
return false;
|
||||
*buffer = ticket.GetTitleId();
|
||||
return true;
|
||||
}
|
||||
|
||||
const IOS::ES::TicketReader& CVolumeWiiCrypted::GetTicket(const Partition& partition) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user