Core: Avoid (Some) Global System Accessor

This commit is contained in:
mitaclaw
2024-03-18 01:35:42 -07:00
parent 85dee300b5
commit f09b71582e
16 changed files with 54 additions and 51 deletions

View File

@ -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()