Fix invalid C++ code (returning reference to local) - thanks devm33.

This commit is contained in:
John Chadwick
2013-08-13 14:47:32 -04:00
parent 3cc8f7747e
commit a791733c27
2 changed files with 2 additions and 2 deletions

View File

@ -409,7 +409,7 @@ void NetPlayDiag::GetNetSettings(NetSettings &settings)
settings.m_Controllers[i] = SConfig::GetInstance().m_SIDevice[i];
}
const std::string& NetPlayDiag::FindGame()
std::string NetPlayDiag::FindGame()
{
// find path for selected game, sloppy..
for (u32 i = 0 ; auto game = m_game_list->GetISO(i); ++i)