mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Fix invalid C++ code (returning reference to local) - thanks devm33.
This commit is contained in:
parent
3cc8f7747e
commit
a791733c27
@ -409,7 +409,7 @@ void NetPlayDiag::GetNetSettings(NetSettings &settings)
|
|||||||
settings.m_Controllers[i] = SConfig::GetInstance().m_SIDevice[i];
|
settings.m_Controllers[i] = SConfig::GetInstance().m_SIDevice[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string& NetPlayDiag::FindGame()
|
std::string NetPlayDiag::FindGame()
|
||||||
{
|
{
|
||||||
// find path for selected game, sloppy..
|
// find path for selected game, sloppy..
|
||||||
for (u32 i = 0 ; auto game = m_game_list->GetISO(i); ++i)
|
for (u32 i = 0 ; auto game = m_game_list->GetISO(i); ++i)
|
||||||
|
@ -92,7 +92,7 @@ private:
|
|||||||
void OnAdjustBuffer(wxCommandEvent& event);
|
void OnAdjustBuffer(wxCommandEvent& event);
|
||||||
void OnConfigPads(wxCommandEvent& event);
|
void OnConfigPads(wxCommandEvent& event);
|
||||||
void GetNetSettings(NetSettings &settings);
|
void GetNetSettings(NetSettings &settings);
|
||||||
const std::string& FindGame();
|
std::string FindGame();
|
||||||
|
|
||||||
wxListBox* m_player_lbox;
|
wxListBox* m_player_lbox;
|
||||||
wxTextCtrl* m_chat_text;
|
wxTextCtrl* m_chat_text;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user