summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-03-06 12:26:40 +0100
committerJosJuice <josjuice@gmail.com>2015-03-06 12:26:40 +0100
commit4a41ab17155e4103ea7844b6e6aa3c434dbb7e63 (patch)
treeff651f87c20f4e98947c8514a9d7b3cfe04f8df4 /Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
parente96569ff0cb7fa10d2c727dc3141710243a9c94e (diff)
Fix 4.0-5689 regression (AR codes, patches)
CreateCodeTab, ARCodeAddEdit and PatchAddEdit need to be able to modify arCodes/onFrame.
Diffstat (limited to 'Source/Core/DolphinWX/Cheats/CreateCodeDialog.h')
-rw-r--r--Source/Core/DolphinWX/Cheats/CreateCodeDialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h b/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
index d1860ffed6..c0ece93e11 100644
--- a/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
+++ b/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
@@ -19,11 +19,11 @@ wxDECLARE_EVENT(UPDATE_CHEAT_LIST_EVENT, wxCommandEvent);
class CreateCodeDialog final : public wxDialog
{
public:
- CreateCodeDialog(wxWindow* const parent, const u32 address, const std::vector<ActionReplay::ARCode>& _arCodes);
+ CreateCodeDialog(wxWindow* const parent, const u32 address, std::vector<ActionReplay::ARCode>* _arCodes);
private:
const u32 m_code_address;
- std::vector<ActionReplay::ARCode> arCodes;
+ std::vector<ActionReplay::ARCode>* arCodes;
wxTextCtrl* m_textctrl_name;
wxTextCtrl* m_textctrl_code;