mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 19:41:45 +02:00
Merge pull request #11383 from noahpistilli/fix-wsc
Fix ESDevice::GetTitlesWithTickets always returning 0 titles owned
This commit is contained in:
commit
1f1474f8ac
@ -163,8 +163,8 @@ std::vector<u64> ESDevice::GetTitlesWithTickets() const
|
|||||||
const std::string name_without_ext = file_name.substr(0, 8);
|
const std::string name_without_ext = file_name.substr(0, 8);
|
||||||
if (fs->ReadDirectory(PID_KERNEL, PID_KERNEL,
|
if (fs->ReadDirectory(PID_KERNEL, PID_KERNEL,
|
||||||
fmt::format("/ticket/{}/{}", title_type, file_name)) ||
|
fmt::format("/ticket/{}/{}", title_type, file_name)) ||
|
||||||
!IsValidPartOfTitleID(name_without_ext) || name_without_ext + ".tik" != file_name ||
|
!IsValidPartOfTitleID(name_without_ext) ||
|
||||||
name_without_ext + ".tv1" != file_name)
|
(name_without_ext + ".tik" != file_name && name_without_ext + ".tv1" != file_name))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user