Changed the way the iterator is used in PatchAddEdit, I thought I'd submit it since it makes for shorter code.

Also a couple of bugfixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1755 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
facugaich
2009-01-03 23:02:13 +00:00
parent 22753f9e3c
commit 09b3d2d227
4 changed files with 45 additions and 47 deletions

View File

@ -62,11 +62,11 @@ class CPatchAddEdit : public wxDialog
void SavePatchData(wxCommandEvent& event);
void AddRemoveEntry(wxCommandEvent& event);
void UpdateEntryCtrls(PatchEngine::PatchEntry pE);
void SaveEntryData();
void SaveEntryData(std::vector<PatchEngine::PatchEntry>::iterator iterEntry);
int selection;
int curEntry;
std::vector<PatchEngine::PatchEntry> tempEntries;
std::vector<PatchEngine::PatchEntry>::iterator itCurEntry;
};
#endif // __PATCH_ADDEDIT_h__