mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-01 07:52:37 +00:00
GeckoCodeConfig: Return vector by value for LoadCodes()
Using an out-param is a leftover from C++03. Action Replay codes already return the vector of codes by value as well.
This commit is contained in:
parent
9ea255c04d
commit
f91292eff2
4 changed files with 11 additions and 12 deletions
|
@ -103,7 +103,7 @@ void CodeConfigPanel::LoadCodes(const IniFile& globalIni, const IniFile& localIn
|
|||
|
||||
m_gcodes.clear();
|
||||
if (!checkRunning || Core::IsRunning())
|
||||
Gecko::LoadCodes(globalIni, localIni, m_gcodes);
|
||||
m_gcodes = Gecko::LoadCodes(globalIni, localIni);
|
||||
|
||||
UpdateCodeList(checkRunning);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue