From c377c1e21ea64435a4e0fb2d08c03cabb4ec981d Mon Sep 17 00:00:00 2001 From: mitaclaw <140017135+mitaclaw@users.noreply.github.com> Date: Fri, 1 Mar 2024 08:07:13 -0800 Subject: CheatsManager/CheatSearchWidget: Avoid Global System Accessor OnResetClicked and GenerateARCode appear to have been using the CPUThreadGuard in error. --- Source/Core/DolphinQt/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinQt/MainWindow.cpp') diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index a76fd36b55..e70d4f64f1 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -456,7 +456,7 @@ void MainWindow::CreateComponents() m_watch_widget = new WatchWidget(this); m_breakpoint_widget = new BreakpointWidget(this); m_code_widget = new CodeWidget(this); - m_cheats_manager = new CheatsManager(this); + m_cheats_manager = new CheatsManager(Core::System::GetInstance(), this); m_assembler_widget = new AssemblerWidget(this); const auto request_watch = [this](QString name, u32 addr) { -- cgit v1.2.3