summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/CodeWindow.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2010-01-18 13:44:40 +0000
committerskidau <skidau@gmail.com>2010-01-18 13:44:40 +0000
commite44e412da8f1c6ac4829a65424644476f9dd5262 (patch)
tree39c0de3528c873e1bbb5c1757b40191cec27bc84 /Source/Core/DebuggerWX/Src/CodeWindow.cpp
parent335c05658644e92a57db0b113e11a3a1313e5367 (diff)
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
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
index 740dd21f94..75c35cd2c4 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp
+++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
@@ -208,6 +208,8 @@ void CCodeWindow::OnHostMessage(wxCommandEvent& event)
case IDM_UPDATEDISASMDIALOG:
Update();
+ if (codeview) codeview->Center(PC);
+// if (m_JitWindow) Host_ShowJitResults(PC);
if (m_RegisterWindow) m_RegisterWindow->NotifyUpdate();
break;
@@ -266,6 +268,7 @@ void CCodeWindow::OnCodeStep(wxCommandEvent& event)
void CCodeWindow::JumpToAddress(u32 _Address)
{
codeview->Center(_Address);
+ if (m_JitWindow) Host_ShowJitResults(_Address);
UpdateLists();
}
@@ -617,7 +620,7 @@ void CCodeWindow::InitBitmaps()
// scale to 16x16 for toolbar
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));
}
}