summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-10-25 18:02:26 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-12-09 16:37:34 +0100
commit2c71ec70527abd091d69f1fdd30aaf95d815214a (patch)
treed0e1f48b048f6d3ef801d0562bfcfe0fa11de6f1 /src/citra_qt/main.cpp
parentcitra-qt: Polish the pica tracing widget. (diff)
downloadyuzu-2c71ec70527abd091d69f1fdd30aaf95d815214a.tar
yuzu-2c71ec70527abd091d69f1fdd30aaf95d815214a.tar.gz
yuzu-2c71ec70527abd091d69f1fdd30aaf95d815214a.tar.bz2
yuzu-2c71ec70527abd091d69f1fdd30aaf95d815214a.tar.lz
yuzu-2c71ec70527abd091d69f1fdd30aaf95d815214a.tar.xz
yuzu-2c71ec70527abd091d69f1fdd30aaf95d815214a.tar.zst
yuzu-2c71ec70527abd091d69f1fdd30aaf95d815214a.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 0701decef..869826e61 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -36,6 +36,8 @@ GMainWindow::GMainWindow()
{
LogManager::Init();
+ Pica::g_debug_context = Pica::DebugContext::Construct();
+
Config config;
if (!Settings::values.enable_log)
@@ -133,6 +135,8 @@ GMainWindow::~GMainWindow()
// will get automatically deleted otherwise
if (render_window->parent() == nullptr)
delete render_window;
+
+ Pica::g_debug_context.reset();
}
void GMainWindow::BootGame(std::string filename)