summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/src/BootManager.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/BootManager.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/BootManager.cpp')
-rw-r--r--Source/Core/DolphinWX/src/BootManager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/src/BootManager.cpp b/Source/Core/DolphinWX/src/BootManager.cpp
index 87d6b1741d..2cd0296b5f 100644
--- a/Source/Core/DolphinWX/src/BootManager.cpp
+++ b/Source/Core/DolphinWX/src/BootManager.cpp
@@ -34,7 +34,7 @@ static std::string s_DataBasePath_USA = "Data_USA";
static std::string s_DataBasePath_JAP = "Data_JAP";
extern CFrame* main_frame;
-extern CCodeWindow* code_frame;
+extern CCodeWindow* g_pCodeWindow;
namespace BootManager
{
@@ -46,10 +46,10 @@ bool BootCore(const std::string& _rFilename)
{
SCoreStartupParameter StartUp = SConfig::GetInstance().m_LocalCoreStartupParameter;
- if (code_frame)
+ if (g_pCodeWindow)
{
// StartUp.bUseDualCore = code_frame->UseDualCore();
- StartUp.bUseDynarec = !code_frame->UseInterpreter();
+ StartUp.bUseDynarec = !g_pCodeWindow->UseInterpreter();
}
else
{
@@ -62,7 +62,7 @@ bool BootCore(const std::string& _rFilename)
StartUp.bHLEBios = true;
StartUp.bRunCompareClient = false;
StartUp.bRunCompareServer = false;
- StartUp.bEnableDebugging = code_frame ? true : false; // RUNNING_DEBUG
+ StartUp.bEnableDebugging = g_pCodeWindow ? true : false; // RUNNING_DEBUG
std::string BaseDataPath;
#ifdef _WIN32
StartUp.hInstance = wxGetInstance();
@@ -79,7 +79,7 @@ bool BootCore(const std::string& _rFilename)
return(false);
}
- Core::SetState(code_frame ? Core::CORE_PAUSE : Core::CORE_RUN);
+ Core::SetState(g_pCodeWindow ? Core::CORE_PAUSE : Core::CORE_RUN);
return(true);
}