diff options
| author | Sepalani <sepalani@hotmail.fr> | 2017-03-31 13:00:19 +0100 |
|---|---|---|
| committer | Sepalani <sepalani@hotmail.fr> | 2017-04-29 19:50:21 +0100 |
| commit | 5f81226d8d728c48224d7efed1f743434f1a6d64 (patch) | |
| tree | e70e90204027caca6f27c713db2cc0478cef3732 /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | |
| parent | 82afda94f4dbc9f90877459f81dab1b35732d068 (diff) | |
SignatureDB: MEGA FormatHandler added
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp index 170027068d..ad37367bb3 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp @@ -166,7 +166,8 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event) { static const wxString signature_selector = _("Dolphin Signature File (*.dsy)") + "|*.dsy|" + _("Dolphin Signature CSV File (*.csv)") + "|*.csv|" + - wxGetTranslation(wxALL_FILES); + _("WiiTools Signature MEGA File (*.mega)") + + "|*.mega|" + wxGetTranslation(wxALL_FILES); Parent->ClearStatusBar(); if (!Core::IsRunning()) @@ -429,22 +430,6 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event) } } break; - case IDM_USE_MEGA_SIGNATURE_FILE: - { - wxString path = wxFileSelector( - _("Apply MEGA signature file"), File::GetSysDirectory(), wxEmptyString, wxEmptyString, - _("MEGA Signature File (*.mega)") + "|*.mega|" + wxGetTranslation(wxALL_FILES), - wxFD_OPEN | wxFD_FILE_MUST_EXIST, this); - if (!path.IsEmpty()) - { - MEGASignatureDB db; - db.Load(WxStrToStr(path)); - db.Apply(&g_symbolDB); - db.List(); - NotifyMapLoaded(); - } - } - break; case IDM_PATCH_HLE_FUNCTIONS: HLE::PatchFunctions(); Repopulate(); |
