Permalink
Browse files

Merge pull request #7441 from JosJuice/fix-read-title-id

Fix reading title IDs of Wii discs
  • Loading branch information...
delroth committed Oct 1, 2018
2 parents cd29cdb + 0bcb992 commit 94c70bf8845b7c9018691e01d6878f0abdea6f22
Showing with 3 additions and 5 deletions.
  1. +2 −4 Source/Core/DiscIO/Volume.h
  2. +1 −1 Source/Core/UICommon/GameFileCache.cpp
@@ -62,10 +62,8 @@ class Volume
virtual std::vector<Partition> GetPartitions() const { return {}; }
virtual Partition GetGamePartition() const { return PARTITION_NONE; }
virtual std::optional<u32> GetPartitionType(const Partition& partition) const { return {}; }
virtual std::optional<u64> GetTitleID(const Partition& partition = PARTITION_NONE) const
{
return {};
}
std::optional<u64> GetTitleID() const { return GetTitleID(GetGamePartition()); }
virtual std::optional<u64> GetTitleID(const Partition& partition) const { return {}; }
virtual const IOS::ES::TicketReader& GetTicket(const Partition& partition) const
{
return INVALID_TICKET;
@@ -27,7 +27,7 @@
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,
bool recursive_scan)

0 comments on commit 94c70bf

Please sign in to comment.