diff options
Diffstat (limited to 'src/citra_qt/main.cpp')
| -rw-r--r-- | src/citra_qt/main.cpp | 4 |
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() | |||
| 36 | { | 36 | { |
| 37 | LogManager::Init(); | 37 | LogManager::Init(); |
| 38 | 38 | ||
| 39 | Pica::g_debug_context = Pica::DebugContext::Construct(); | ||
| 40 | |||
| 39 | Config config; | 41 | Config config; |
| 40 | 42 | ||
| 41 | if (!Settings::values.enable_log) | 43 | if (!Settings::values.enable_log) |
| @@ -133,6 +135,8 @@ GMainWindow::~GMainWindow() | |||
| 133 | // will get automatically deleted otherwise | 135 | // will get automatically deleted otherwise |
| 134 | if (render_window->parent() == nullptr) | 136 | if (render_window->parent() == nullptr) |
| 135 | delete render_window; | 137 | delete render_window; |
| 138 | |||
| 139 | Pica::g_debug_context.reset(); | ||
| 136 | } | 140 | } |
| 137 | 141 | ||
| 138 | void GMainWindow::BootGame(std::string filename) | 142 | void GMainWindow::BootGame(std::string filename) |