mirror of https://github.com/PCSX2/pcsx2.git
Allow re-opening the debugger after closing it
This commit is contained in:
parent
854574af66
commit
fbb0a77ce3
|
@ -19,6 +19,7 @@ BEGIN_EVENT_TABLE(DisassemblyDialog, wxFrame)
|
|||
EVT_COMMAND( wxID_ANY, debEVT_GOTOINDISASM, DisassemblyDialog::onDebuggerEvent )
|
||||
EVT_COMMAND( wxID_ANY, debEVT_STEPOVER, DisassemblyDialog::onDebuggerEvent )
|
||||
EVT_COMMAND( wxID_ANY, debEVT_UPDATE, DisassemblyDialog::onDebuggerEvent )
|
||||
EVT_CLOSE( DisassemblyDialog::onClose )
|
||||
END_EVENT_TABLE()
|
||||
|
||||
|
||||
|
@ -300,6 +301,11 @@ void DisassemblyDialog::onDebuggerEvent(wxCommandEvent& evt)
|
|||
}
|
||||
}
|
||||
|
||||
void DisassemblyDialog::onClose(wxCloseEvent& evt)
|
||||
{
|
||||
Hide();
|
||||
}
|
||||
|
||||
void DisassemblyDialog::update()
|
||||
{
|
||||
if (currentCpu != NULL)
|
||||
|
|
|
@ -55,6 +55,7 @@ protected:
|
|||
void onDebuggerEvent(wxCommandEvent& evt);
|
||||
void onPageChanging(wxCommandEvent& evt);
|
||||
void onBreakpointClick(wxCommandEvent& evt);
|
||||
void onClose(wxCloseEvent& evt);
|
||||
void stepOver();
|
||||
private:
|
||||
CpuTabPage* eeTab;
|
||||
|
|
Loading…
Reference in New Issue