mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Core: Avoid (Some) Global System Accessor
This commit is contained in:
parent
85dee300b5
commit
f09b71582e
16 changed files with 54 additions and 51 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue