mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Fix 4.0-5689 regression (AR codes, patches)
CreateCodeTab, ARCodeAddEdit and PatchAddEdit need to be able to modify arCodes/onFrame.
This commit is contained in:
parent
e96569ff0c
commit
4a41ab1715
10 changed files with 34 additions and 34 deletions
|
@ -21,7 +21,7 @@ namespace ActionReplay { struct ARCode; }
|
|||
class CARCodeAddEdit : public wxDialog
|
||||
{
|
||||
public:
|
||||
CARCodeAddEdit(int _selection, const std::vector<ActionReplay::ARCode>& _arCodes,
|
||||
CARCodeAddEdit(int _selection, std::vector<ActionReplay::ARCode>* _arCodes,
|
||||
wxWindow* parent,
|
||||
wxWindowID id = wxID_ANY,
|
||||
const wxString& title = _("Edit ActionReplay Code"),
|
||||
|
@ -34,7 +34,7 @@ private:
|
|||
wxSpinButton* EntrySelection;
|
||||
wxTextCtrl* EditCheatCode;
|
||||
|
||||
std::vector<ActionReplay::ARCode> arCodes;
|
||||
std::vector<ActionReplay::ARCode>* arCodes;
|
||||
|
||||
void SaveCheatData(wxCommandEvent& event);
|
||||
void ChangeEntry(wxSpinEvent& event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue