mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +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
|
@ -11,6 +11,6 @@ class IniFile;
|
|||
|
||||
namespace Gecko
|
||||
{
|
||||
void LoadCodes(const IniFile& globalIni, const IniFile& localIni, std::vector<GeckoCode>& gcodes);
|
||||
std::vector<GeckoCode> LoadCodes(const IniFile& globalIni, const IniFile& localIni);
|
||||
void SaveCodes(IniFile& inifile, const std::vector<GeckoCode>& gcodes);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue