Allow translations and custom names in GameFile::GetNetPlayName

There is no longer any major reason for why this function would
need to return the same result for all players.
This commit is contained in:
JosJuice
2020-06-10 18:49:22 +02:00
parent a41166bb37
commit 5cad82137d
10 changed files with 25 additions and 13 deletions

View File

@ -82,7 +82,7 @@ public:
u16 GetRevision() const { return m_revision; }
// 0 is the first disc, 1 is the second disc
u8 GetDiscNumber() const { return m_disc_number; }
std::string GetNetPlayName() const;
std::string GetNetPlayName(const Core::TitleDatabase& title_database) const;
// This function is slow
std::array<u8, 20> GetSyncHash() const;