summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
diff options
context:
space:
mode:
authorEmptyChaos <EmptyChaos@users.noreply.github.com>2016-04-19 21:19:31 +0000
committerEmptyChaos <EmptyChaos@users.noreply.github.com>2016-05-29 23:33:24 +1000
commit25b072ff2ba6839b300b05a45ce76e94d84ded32 (patch)
tree2c17f26fac961a5a5b0d69501c72bd09ca69325d /Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
parent0fa9233c1acb91c89f1cecad1340621e375dc083 (diff)
ActionReplay: Fix ISOProperties corrupting active code set
ISOProperties loads codes using ActionReplay::LoadCodes which actually applies the codes to the global state. If a game is running then that games receives all the codes (and ACTIVE status) from the second game being shown in ISOProperties which is not desirable.
Diffstat (limited to 'Source/Core/DolphinWX/Cheats/CreateCodeDialog.h')
-rw-r--r--Source/Core/DolphinWX/Cheats/CreateCodeDialog.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h b/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
index 7c5b752320..bc9ca0ad2b 100644
--- a/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
+++ b/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h
@@ -12,8 +12,6 @@
class wxCheckBox;
class wxTextCtrl;
-wxDECLARE_EVENT(UPDATE_CHEAT_LIST_EVENT, wxCommandEvent);
-
class CreateCodeDialog final : public wxDialog
{
public: