diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2017-11-19 18:50:38 +0100 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2017-12-28 19:08:38 +0100 |
| commit | b63ec57c1e5ace830ab67f0d4779b782d08b7b21 (patch) | |
| tree | a45c13443953b6a83fa42d65d0b88f8678f0d7c7 /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | 8795b342d101a370d314a8b600d38ff1512ec1d4 (diff) | |
Qt: Connect debugging widgets
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 6e20544770..a425d8891e 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -1,3 +1,4 @@ + // Copyright 2015 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. @@ -46,10 +47,10 @@ #include "DolphinQt2/Config/LogWidget.h" #include "DolphinQt2/Config/Mapping/MappingWindow.h" #include "DolphinQt2/Config/SettingsWindow.h" -#include "DolphinQt2/FIFOPlayerWindow.h" #include "DolphinQt2/Debugger/BreakpointWidget.h" #include "DolphinQt2/Debugger/RegisterWidget.h" #include "DolphinQt2/Debugger/WatchWidget.h" +#include "DolphinQt2/FIFOPlayerWindow.h" #include "DolphinQt2/Host.h" #include "DolphinQt2/HotkeyScheduler.h" #include "DolphinQt2/MainWindow.h" @@ -175,6 +176,11 @@ void MainWindow::CreateComponents() m_watch_widget = new WatchWidget(this); m_breakpoint_widget = new BreakpointWidget(this); + connect(m_watch_widget, &WatchWidget::RequestMemoryBreakpoint, + [this](u32 addr) { m_breakpoint_widget->AddAddressMBP(addr); }); + connect(m_register_widget, &RegisterWidget::RequestMemoryBreakpoint, + [this](u32 addr) { m_breakpoint_widget->AddAddressMBP(addr); }); + #if defined(HAVE_XRANDR) && HAVE_XRANDR m_graphics_window = new GraphicsWindow( new X11Utils::XRRConfiguration( |
