mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-13 03:29:24 +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
|
@ -155,10 +155,7 @@ void LoadPatches()
|
|||
LoadPatchSection("OnFrame", onFrame, globalIni, localIni);
|
||||
ActionReplay::LoadAndApplyCodes(globalIni, localIni);
|
||||
|
||||
// lil silly
|
||||
std::vector<Gecko::GeckoCode> gcodes;
|
||||
Gecko::LoadCodes(globalIni, localIni, gcodes);
|
||||
Gecko::SetActiveCodes(gcodes);
|
||||
Gecko::SetActiveCodes(Gecko::LoadCodes(globalIni, localIni));
|
||||
|
||||
LoadSpeedhacks("Speedhacks", merged);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue