mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Implemented binary fragment program disassembler
This commit is contained in:
parent
bdad5ef745
commit
e84f356a29
15 changed files with 1273 additions and 452 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include "Gui/RSXDebugger.h"
|
||||
#include "Gui/MemoryStringSearcher.h"
|
||||
#include "Gui/LLEModulesManager.h"
|
||||
#include "Gui/CgDisasm.h"
|
||||
|
||||
#include <wx/dynlib.h>
|
||||
|
||||
|
|
@ -53,8 +54,9 @@ enum IDs
|
|||
id_tools_memory_viewer,
|
||||
id_tools_rsx_debugger,
|
||||
id_tools_string_search,
|
||||
id_tools_cg_disasm,
|
||||
id_help_about,
|
||||
id_update_dbg,
|
||||
id_update_dbg
|
||||
};
|
||||
|
||||
wxString GetPaneName()
|
||||
|
|
@ -111,6 +113,7 @@ MainFrame::MainFrame()
|
|||
menu_tools->Append(id_tools_memory_viewer, "&Memory Viewer")->Enable(false);
|
||||
menu_tools->Append(id_tools_rsx_debugger, "&RSX Debugger")->Enable(false);
|
||||
menu_tools->Append(id_tools_string_search, "&String Search")->Enable(false);
|
||||
menu_tools->Append(id_tools_cg_disasm, "&Cg Disasm")->Enable();
|
||||
|
||||
wxMenu* menu_help = new wxMenu();
|
||||
menubar->Append(menu_help, "&Help");
|
||||
|
|
@ -151,6 +154,7 @@ MainFrame::MainFrame()
|
|||
Bind(wxEVT_MENU, &MainFrame::OpenMemoryViewer, this, id_tools_memory_viewer);
|
||||
Bind(wxEVT_MENU, &MainFrame::OpenRSXDebugger, this, id_tools_rsx_debugger);
|
||||
Bind(wxEVT_MENU, &MainFrame::OpenStringSearch, this, id_tools_string_search);
|
||||
Bind(wxEVT_MENU, &MainFrame::OpenCgDisasm, this, id_tools_cg_disasm);
|
||||
|
||||
Bind(wxEVT_MENU, &MainFrame::AboutDialogHandler, this, id_help_about);
|
||||
|
||||
|
|
@ -722,6 +726,11 @@ void MainFrame::OpenStringSearch(wxCommandEvent& WXUNUSED(event))
|
|||
(new MemoryStringSearcher(this)) -> Show();
|
||||
}
|
||||
|
||||
void MainFrame::OpenCgDisasm(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
(new CgDisasm(this))->Show();
|
||||
}
|
||||
|
||||
void MainFrame::AboutDialogHandler(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
AboutDialog(this).ShowModal();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue