mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06: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:
@ -25,7 +25,7 @@ class wxWindow;
|
||||
class CPatchAddEdit : public wxDialog
|
||||
{
|
||||
public:
|
||||
CPatchAddEdit(int _selection, const std::vector<PatchEngine::Patch>& _onFrame,
|
||||
CPatchAddEdit(int _selection, std::vector<PatchEngine::Patch>* _onFrame,
|
||||
wxWindow* parent,
|
||||
wxWindowID id = wxID_ANY,
|
||||
const wxString& title = _("Edit Patch"),
|
||||
@ -43,7 +43,7 @@ private:
|
||||
wxButton* EntryAdd;
|
||||
wxButton* EntryRemove;
|
||||
wxStaticBoxSizer* sbEntry;
|
||||
std::vector<PatchEngine::Patch> onFrame;
|
||||
std::vector<PatchEngine::Patch>* onFrame;
|
||||
|
||||
void CreateGUIControls(int selection);
|
||||
void ChangeEntry(wxSpinEvent& event);
|
||||
|
Reference in New Issue
Block a user