Fix reading title IDs of Wii discs
Partial revert of a1db82a
.
Should fix https://bugs.dolphin-emu.org/issues/11404.
This commit is contained in:
parent
a1db82a72e
commit
0bcb9923f8
|
@ -62,10 +62,8 @@ public:
|
||||||
virtual std::vector<Partition> GetPartitions() const { return {}; }
|
virtual std::vector<Partition> GetPartitions() const { return {}; }
|
||||||
virtual Partition GetGamePartition() const { return PARTITION_NONE; }
|
virtual Partition GetGamePartition() const { return PARTITION_NONE; }
|
||||||
virtual std::optional<u32> GetPartitionType(const Partition& partition) const { return {}; }
|
virtual std::optional<u32> GetPartitionType(const Partition& partition) const { return {}; }
|
||||||
virtual std::optional<u64> GetTitleID(const Partition& partition = PARTITION_NONE) const
|
std::optional<u64> GetTitleID() const { return GetTitleID(GetGamePartition()); }
|
||||||
{
|
virtual std::optional<u64> GetTitleID(const Partition& partition) const { return {}; }
|
||||||
return {};
|
|
||||||
}
|
|
||||||
virtual const IOS::ES::TicketReader& GetTicket(const Partition& partition) const
|
virtual const IOS::ES::TicketReader& GetTicket(const Partition& partition) const
|
||||||
{
|
{
|
||||||
return INVALID_TICKET;
|
return INVALID_TICKET;
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
namespace UICommon
|
namespace UICommon
|
||||||
{
|
{
|
||||||
static constexpr u32 CACHE_REVISION = 13; // Last changed in PR 7411
|
static constexpr u32 CACHE_REVISION = 14; // Last changed in PR 7441
|
||||||
|
|
||||||
std::vector<std::string> FindAllGamePaths(const std::vector<std::string>& directories_to_scan,
|
std::vector<std::string> FindAllGamePaths(const std::vector<std::string>& directories_to_scan,
|
||||||
bool recursive_scan)
|
bool recursive_scan)
|
||||||
|
|
Loading…
Reference in New Issue