summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/src/Main.cpp
diff options
context:
space:
mode:
authorfires.gc <fires.gc@gmail.com>2008-07-17 21:46:34 +0000
committerfires.gc <fires.gc@gmail.com>2008-07-17 21:46:34 +0000
commit343d1ece115879ea2c8d77abbeadaa8ef3e3de77 (patch)
tree58513e74dd60b3076331e6c1f098d6a9a9dc219e /Source/Core/DolphinWX/src/Main.cpp
parent91ccda69efb56fa729c3f4f3209726238f656e29 (diff)
debugger improvments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@25 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DolphinWX/src/Main.cpp')
-rw-r--r--Source/Core/DolphinWX/src/Main.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/Source/Core/DolphinWX/src/Main.cpp b/Source/Core/DolphinWX/src/Main.cpp
index 774e9144a0..c154b460e0 100644
--- a/Source/Core/DolphinWX/src/Main.cpp
+++ b/Source/Core/DolphinWX/src/Main.cpp
@@ -30,7 +30,7 @@
IMPLEMENT_APP(DolphinApp)
CFrame * main_frame = NULL;
-CCodeWindow* code_frame = NULL;
+CCodeWindow* g_pCodeWindow = NULL;
// The `main program' equivalent, creating the windows and returning the
// main frame
@@ -93,8 +93,8 @@ bool DolphinApp::OnInit()
// create debugger
if (UseDebugger)
{
- code_frame = new CCodeWindow(SConfig::GetInstance().m_LocalCoreStartupParameter, main_frame);
- code_frame->Show(true);
+ g_pCodeWindow = new CCodeWindow(SConfig::GetInstance().m_LocalCoreStartupParameter, main_frame);
+ g_pCodeWindow->Show(true);
}
SetTopWindow(main_frame);
@@ -121,9 +121,9 @@ void Host_BootingStarted()
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_BOOTING_STARTED);
wxPostEvent(main_frame, event);
- if (code_frame)
+ if (g_pCodeWindow)
{
- wxPostEvent(code_frame, event);
+ wxPostEvent(g_pCodeWindow, event);
}
}
@@ -133,9 +133,9 @@ void Host_BootingEnded()
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_BOOTING_ENDED);
wxPostEvent(main_frame, event);
- if (code_frame)
+ if (g_pCodeWindow)
{
- wxPostEvent(code_frame, event);
+ wxPostEvent(g_pCodeWindow, event);
}
}
@@ -147,9 +147,9 @@ void Host_NotifyMapLoaded()
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_NOTIFYMAPLOADED);
wxPostEvent(main_frame, event);
- if (code_frame)
+ if (g_pCodeWindow)
{
- wxPostEvent(code_frame, event);
+ wxPostEvent(g_pCodeWindow, event);
}
}
@@ -159,9 +159,9 @@ void Host_UpdateLogDisplay()
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATELOGDISPLAY);
wxPostEvent(main_frame, event);
- if (code_frame)
+ if (g_pCodeWindow)
{
- wxPostEvent(code_frame, event);
+ wxPostEvent(g_pCodeWindow, event);
}
}
@@ -170,9 +170,9 @@ void Host_UpdateDisasmDialog()
{
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATEDISASMDIALOG);
wxPostEvent(main_frame, event);
- if (code_frame)
+ if (g_pCodeWindow)
{
- wxPostEvent(code_frame, event);
+ wxPostEvent(g_pCodeWindow, event);
}
}
@@ -182,9 +182,9 @@ void Host_UpdateMainFrame()
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATEGUI);
wxPostEvent(main_frame, event);
- if (code_frame)
+ if (g_pCodeWindow)
{
- wxPostEvent(code_frame, event);
+ wxPostEvent(g_pCodeWindow, event);
}
}
@@ -193,9 +193,9 @@ void Host_UpdateBreakPointView()
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATEBREAKPOINTS);
wxPostEvent(main_frame, event);
- if (code_frame)
+ if (g_pCodeWindow)
{
- wxPostEvent(code_frame, event);
+ wxPostEvent(g_pCodeWindow, event);
}
}