diff options
author | Kingcom <sorgts@googlemail.com> | 2015-01-07 12:14:23 +0100 |
---|---|---|
committer | Kingcom <sorgts@googlemail.com> | 2015-01-11 21:22:51 +0100 |
commit | 2bbc12e6c3dbeb2b8cc73753c1fddca94bdde50f (patch) | |
tree | 110079649f6649195c93b53815aceaab14b183fc /src/citra_qt/main.cpp | |
parent | Merge pull request #402 from chrisvj/master (diff) | |
download | yuzu-2bbc12e6c3dbeb2b8cc73753c1fddca94bdde50f.tar yuzu-2bbc12e6c3dbeb2b8cc73753c1fddca94bdde50f.tar.gz yuzu-2bbc12e6c3dbeb2b8cc73753c1fddca94bdde50f.tar.bz2 yuzu-2bbc12e6c3dbeb2b8cc73753c1fddca94bdde50f.tar.lz yuzu-2bbc12e6c3dbeb2b8cc73753c1fddca94bdde50f.tar.xz yuzu-2bbc12e6c3dbeb2b8cc73753c1fddca94bdde50f.tar.zst yuzu-2bbc12e6c3dbeb2b8cc73753c1fddca94bdde50f.zip |
Diffstat (limited to 'src/citra_qt/main.cpp')
-rw-r--r-- | src/citra_qt/main.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index c6671bef1..ece593e5d 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -124,9 +124,13 @@ GMainWindow::GMainWindow() connect(ui.action_Hotkeys, SIGNAL(triggered()), this, SLOT(OnOpenHotkeysDialog())); // BlockingQueuedConnection is important here, it makes sure we've finished refreshing our views before the CPU continues - connect(&render_window->GetEmuThread(), SIGNAL(CPUStepped()), disasmWidget, SLOT(OnCPUStepped()), Qt::BlockingQueuedConnection); - connect(&render_window->GetEmuThread(), SIGNAL(CPUStepped()), registersWidget, SLOT(OnCPUStepped()), Qt::BlockingQueuedConnection); - connect(&render_window->GetEmuThread(), SIGNAL(CPUStepped()), callstackWidget, SLOT(OnCPUStepped()), Qt::BlockingQueuedConnection); + connect(&render_window->GetEmuThread(), SIGNAL(DebugModeEntered()), disasmWidget, SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); + connect(&render_window->GetEmuThread(), SIGNAL(DebugModeEntered()), registersWidget, SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); + connect(&render_window->GetEmuThread(), SIGNAL(DebugModeEntered()), callstackWidget, SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); + + connect(&render_window->GetEmuThread(), SIGNAL(DebugModeLeft()), disasmWidget, SLOT(OnDebugModeLeft()), Qt::BlockingQueuedConnection); + connect(&render_window->GetEmuThread(), SIGNAL(DebugModeLeft()), registersWidget, SLOT(OnDebugModeLeft()), Qt::BlockingQueuedConnection); + connect(&render_window->GetEmuThread(), SIGNAL(DebugModeLeft()), callstackWidget, SLOT(OnDebugModeLeft()), Qt::BlockingQueuedConnection); // Setup hotkeys RegisterHotkey("Main Window", "Load File", QKeySequence::Open); @@ -167,8 +171,8 @@ void GMainWindow::BootGame(std::string filename) } disasmWidget->Init(); - registersWidget->OnCPUStepped(); - callstackWidget->OnCPUStepped(); + registersWidget->OnDebugModeEntered(); + callstackWidget->OnDebugModeEntered(); render_window->GetEmuThread().SetFilename(filename); render_window->GetEmuThread().start(); |