mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 17:59:50 +00:00
Make PatchAddEdit complain and not modify entry if fields are invalid instead of just filling in zeros. Fixes issue 4291.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7672 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d9ad549349
commit
2b9b4a3306
5 changed files with 68 additions and 11 deletions
|
@ -62,7 +62,7 @@ class CPatchAddEdit : public wxDialog
|
|||
void SavePatchData(wxCommandEvent& event);
|
||||
void AddRemoveEntry(wxCommandEvent& event);
|
||||
void UpdateEntryCtrls(PatchEngine::PatchEntry pE);
|
||||
void SaveEntryData(std::vector<PatchEngine::PatchEntry>::iterator iterEntry);
|
||||
bool UpdateTempEntryData(std::vector<PatchEngine::PatchEntry>::iterator iterEntry);
|
||||
|
||||
int selection, currentItem;
|
||||
std::vector<PatchEngine::PatchEntry> tempEntries;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue