Fix Cheat Manager not saving created codes

This commit is contained in:
JosJuice
2015-09-19 17:20:16 +02:00
parent 3f56480903
commit 17edcc4fc7
7 changed files with 13 additions and 12 deletions

View File

@ -17,11 +17,10 @@ wxDECLARE_EVENT(UPDATE_CHEAT_LIST_EVENT, wxCommandEvent);
class CreateCodeDialog final : public wxDialog
{
public:
CreateCodeDialog(wxWindow* const parent, const u32 address, std::vector<ActionReplay::ARCode>* _arCodes);
CreateCodeDialog(wxWindow* const parent, const u32 address);
private:
const u32 m_code_address;
std::vector<ActionReplay::ARCode>* arCodes;
wxTextCtrl* m_textctrl_name;
wxTextCtrl* m_textctrl_code;