Debugger cleanup
* Made the debugger toolbar height match the other toolbars. * Centered the disasm on the current instruction * Allow one click view of the JIT'd code git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4878 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
335c056586
commit
e44e412da8
|
@ -208,6 +208,8 @@ void CCodeWindow::OnHostMessage(wxCommandEvent& event)
|
||||||
|
|
||||||
case IDM_UPDATEDISASMDIALOG:
|
case IDM_UPDATEDISASMDIALOG:
|
||||||
Update();
|
Update();
|
||||||
|
if (codeview) codeview->Center(PC);
|
||||||
|
// if (m_JitWindow) Host_ShowJitResults(PC);
|
||||||
if (m_RegisterWindow) m_RegisterWindow->NotifyUpdate();
|
if (m_RegisterWindow) m_RegisterWindow->NotifyUpdate();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -266,6 +268,7 @@ void CCodeWindow::OnCodeStep(wxCommandEvent& event)
|
||||||
void CCodeWindow::JumpToAddress(u32 _Address)
|
void CCodeWindow::JumpToAddress(u32 _Address)
|
||||||
{
|
{
|
||||||
codeview->Center(_Address);
|
codeview->Center(_Address);
|
||||||
|
if (m_JitWindow) Host_ShowJitResults(_Address);
|
||||||
UpdateLists();
|
UpdateLists();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -617,7 +620,7 @@ void CCodeWindow::InitBitmaps()
|
||||||
// scale to 16x16 for toolbar
|
// scale to 16x16 for toolbar
|
||||||
for (size_t n = Toolbar_DebugGo; n < ToolbarDebugBitmapMax; n++)
|
for (size_t n = Toolbar_DebugGo; n < ToolbarDebugBitmapMax; n++)
|
||||||
{
|
{
|
||||||
m_Bitmaps[n] = wxBitmap(m_Bitmaps[n].ConvertToImage().Scale(16, 16));
|
m_Bitmaps[n] = wxBitmap(m_Bitmaps[n].ConvertToImage().Scale(24, 24));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue