Send messages to the debugger

This commit is contained in:
Kingcom committed 2013-08-14 23:46:59 +02:00
1 parent 177b9fa6b1
commit bfbea62ce3
2 files changed
+16 -1

No files matched your search

+4
View File
@@ -17,6 +17,7 @@
#include "Windows/Debugger/CtrlRegisterList.h"
#include "Windows/Debugger/CtrlMemView.h"
#include "Windows/Debugger/Debugger_Lists.h"
#include "Windows/WndMainWindow.h"
#include "Core/Core.h"
#include "Core/CPU.h"
@@ -224,6 +225,9 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
CtrlRegisterList *reglist = CtrlRegisterList::getFrom(GetDlgItem(m_hDlg,IDC_REGLIST));
switch(LOWORD(wParam))
{
case ID_TOGGLE_PAUSE:
SendMessage(MainWindow::GetHWND(),WM_COMMAND,ID_TOGGLE_PAUSE,0);
break;
case IDC_SHOWVFPU:
vfpudlg->Show(true);
break;