mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-05 15:49:01 +00:00
Core::IsRunning: Avoid Global System Accessor
This commit is contained in:
parent
b71fdef356
commit
0df401b164
25 changed files with 90 additions and 74 deletions
|
@ -856,7 +856,7 @@ static void LoadFileStateData(const std::string& filename, std::vector<u8>& ret_
|
|||
|
||||
void LoadAs(Core::System& system, const std::string& filename)
|
||||
{
|
||||
if (!Core::IsRunning())
|
||||
if (!Core::IsRunning(system))
|
||||
return;
|
||||
|
||||
if (NetPlay::IsNetPlayRunning())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue