mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Fix invalid C++ code (returning reference to local) - thanks devm33.
This commit is contained in:
parent
3cc8f7747e
commit
a791733c27
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue