diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-04-09 15:31:20 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-05-11 18:10:35 +0200 |
| commit | 1dfcffcce27651055dfebf0a399ff05cda68f8e9 (patch) | |
| tree | 0e319a864ab719869aad2dec562a076592b61b06 /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | dabfecfd7432728d93c622de2f4c9e4dd8ccd814 (diff) | |
Qt/Debugger: Implement "JIT" widget
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 49cf3a3af9..38170ee6cf 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -55,6 +55,7 @@ #include "DolphinQt2/Config/SettingsWindow.h" #include "DolphinQt2/Debugger/BreakpointWidget.h" #include "DolphinQt2/Debugger/CodeWidget.h" +#include "DolphinQt2/Debugger/JITWidget.h" #include "DolphinQt2/Debugger/MemoryWidget.h" #include "DolphinQt2/Debugger/RegisterWidget.h" #include "DolphinQt2/Debugger/WatchWidget.h" @@ -202,6 +203,7 @@ void MainWindow::CreateComponents() m_hotkey_window = new MappingWindow(this, MappingWindow::Type::MAPPING_HOTKEYS, 0); + m_jit_widget = new JITWidget(this); m_log_widget = new LogWidget(this); m_log_config_widget = new LogConfigWidget(this); m_fifo_window = new FIFOPlayerWindow(this); @@ -222,6 +224,7 @@ void MainWindow::CreateComponents() connect(m_code_widget, &CodeWidget::BreakpointsChanged, m_breakpoint_widget, &BreakpointWidget::Update); + connect(m_code_widget, &CodeWidget::RequestPPCComparison, m_jit_widget, &JITWidget::Compare); connect(m_memory_widget, &MemoryWidget::BreakpointsChanged, m_breakpoint_widget, &BreakpointWidget::Update); @@ -430,6 +433,7 @@ void MainWindow::ConnectStack() addDockWidget(Qt::RightDockWidgetArea, m_watch_widget); addDockWidget(Qt::RightDockWidgetArea, m_breakpoint_widget); addDockWidget(Qt::RightDockWidgetArea, m_memory_widget); + addDockWidget(Qt::RightDockWidgetArea, m_jit_widget); tabifyDockWidget(m_log_widget, m_log_config_widget); tabifyDockWidget(m_log_widget, m_code_widget); @@ -437,6 +441,7 @@ void MainWindow::ConnectStack() tabifyDockWidget(m_log_widget, m_watch_widget); tabifyDockWidget(m_log_widget, m_breakpoint_widget); tabifyDockWidget(m_log_widget, m_memory_widget); + tabifyDockWidget(m_log_widget, m_jit_widget); } QString MainWindow::PromptFileName() |
