diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-03-01 08:07:13 -0800 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-03-11 20:51:15 -0700 |
| commit | c377c1e21ea64435a4e0fb2d08c03cabb4ec981d (patch) | |
| tree | b3aac8d453a6e3d7648de616183db6541eb49d05 /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | 551dcec0b147b8d5c9828017edfde64ca9b90594 (diff) | |
CheatsManager/CheatSearchWidget: Avoid Global System Accessor
OnResetClicked and GenerateARCode appear to have been using the CPUThreadGuard in error.
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
