Core: Include partition when calling GetGameTDBID for non-game partition
This problem was introduced in 8842a0f402
and is likely a copy-paste error.
Fixes the problem mentioned in the issue comment
https://bugs.dolphin-emu.org/issues/13640#note-2.
This commit is contained in:
parent
2da3e49b1e
commit
6798f63a2e
|
@ -114,7 +114,7 @@ void SConfig::SetRunningGameMetadata(const DiscIO::Volume& volume,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
SetRunningGameMetadata(volume.GetGameID(partition), volume.GetGameTDBID(),
|
SetRunningGameMetadata(volume.GetGameID(partition), volume.GetGameTDBID(partition),
|
||||||
volume.GetTitleID(partition).value_or(0),
|
volume.GetTitleID(partition).value_or(0),
|
||||||
volume.GetRevision(partition).value_or(0), volume.GetRegion());
|
volume.GetRevision(partition).value_or(0), volume.GetRegion());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue