diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-08-25 20:34:11 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-08-25 20:34:11 +0000 |
| commit | fd188ec09eb5a73960a0e6ef071c3d979fb39aa0 (patch) | |
| tree | 18cfeb642ebae2382b4944255c21f791c92c3170 /Source/Core/DebuggerWX/src/CodeView.cpp | |
| parent | 35fdbdc3604c1177f96612fbb68aaea82bca837e (diff) | |
Switch between JIT and Interpreter at runtime using the debug window (pause first!)
Plus assorted cleanup & fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@312 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/src/CodeView.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/src/CodeView.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DebuggerWX/src/CodeView.cpp b/Source/Core/DebuggerWX/src/CodeView.cpp index d6aab45ac9..81e20ab704 100644 --- a/Source/Core/DebuggerWX/src/CodeView.cpp +++ b/Source/Core/DebuggerWX/src/CodeView.cpp @@ -341,9 +341,8 @@ void CCodeView::OnPaint(wxPaintEvent& event) dc.DrawRectangle(0, 0, 16, rc.height);
dc.DrawRectangle(0, 0, rc.width, 5);
// TODO - clean up this freaking mess!!!!!
- int i;
- for (i = -numRows; i <= numRows; i++)
+ for (int i = -numRows; i <= numRows; i++)
{
unsigned int address = curAddress + i * align;
@@ -469,7 +468,7 @@ void CCodeView::OnPaint(wxPaintEvent& event) dc.SetPen(currentPen);
- for (i = 0; i < numBranches; i++)
+ for (int i = 0; i < numBranches; i++)
{
int x = 300 + (branches[i].srcAddr % 9) * 8;
_MoveTo(x-2, branches[i].src);
|
