diff options
| author | hyperiris <hyperiris@gmail.com> | 2009-03-30 13:21:22 +0000 |
|---|---|---|
| committer | hyperiris <hyperiris@gmail.com> | 2009-03-30 13:21:22 +0000 |
| commit | e9232ecf9583f8fdcbcdbeaaa3ca26e82c84d0d5 (patch) | |
| tree | c1fc90b9b1d26df01af23e56887b763ea13b951c /Source/Plugins/Plugin_DSP_LLE-testing/Src/main.cpp | |
| parent | 37d513c53bad6fe80b0120773da8be50248da3df (diff) | |
LLE debugger work in progress: 1%, just a begin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2797 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_DSP_LLE-testing/Src/main.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_DSP_LLE-testing/Src/main.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_DSP_LLE-testing/Src/main.cpp b/Source/Plugins/Plugin_DSP_LLE-testing/Src/main.cpp index dbda183f6f..45e43a7f3d 100644 --- a/Source/Plugins/Plugin_DSP_LLE-testing/Src/main.cpp +++ b/Source/Plugins/Plugin_DSP_LLE-testing/Src/main.cpp @@ -34,6 +34,9 @@ #if defined(HAVE_WX) && HAVE_WX #include "DSPConfigDlgLLE.h" +#include "debugger/Debugger.h" +#include "Debugger/Debugger.h" // For the CDebugger class +CDebugger* m_frame = NULL; #endif PLUGIN_GLOBALS* globals = NULL; @@ -163,6 +166,21 @@ void DoState(unsigned char **ptr, int mode) void DllDebugger(HWND _hParent, bool Show) { +#if defined(HAVE_WX) && HAVE_WX + if (m_frame && Show) // if we have created it, let us show it again + { + m_frame->DoShow(); + } + else if (!m_frame && Show) + { + m_frame = new CDebugger(NULL); + m_frame->Show(); + } + else if (m_frame && !Show) + { + m_frame->DoHide(); + } +#endif } |
