summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authormitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-03-18 01:35:42 -0700
committermitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-03-18 01:35:42 -0700
commitf09b71582ee357ef47f8608a5b0fd848e404b453 (patch)
tree5fe74fe97341ea2e66788038cef98867cfcc3f2d /Source/Core/DolphinQt/MainWindow.cpp
parent85dee300b5bbd8c64dee5e9305a626435bef2062 (diff)
Core: Avoid (Some) Global System Accessor
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index 83f75340f4..7e7086e5af 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -909,7 +909,7 @@ bool MainWindow::RequestStop()
{
if (!Core::IsRunning())
{
- Core::QueueHostJob([this] { OnStopComplete(); }, true);
+ Core::QueueHostJob([this](Core::System&) { OnStopComplete(); }, true);
return true;
}
@@ -1009,7 +1009,7 @@ bool MainWindow::RequestStop()
void MainWindow::ForceStop()
{
- Core::Stop();
+ Core::Stop(Core::System::GetInstance());
}
void MainWindow::Reset()