mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Core::IsRunning: Avoid Global System Accessor
This commit is contained in:
@ -424,7 +424,7 @@ bool MovieManager::IsNetPlayRecording() const
|
||||
// NOTE: Host Thread
|
||||
void MovieManager::ChangePads()
|
||||
{
|
||||
if (!Core::IsRunning())
|
||||
if (!Core::IsRunning(m_system))
|
||||
return;
|
||||
|
||||
ControllerTypeArray controllers{};
|
||||
@ -571,7 +571,7 @@ bool MovieManager::BeginRecordingInput(const ControllerTypeArray& controllers,
|
||||
ConfigLoaders::SaveToDTM(&header);
|
||||
Config::AddLayer(ConfigLoaders::GenerateMovieConfigLoader(&header));
|
||||
|
||||
if (Core::IsRunning())
|
||||
if (Core::IsRunning(m_system))
|
||||
Core::UpdateWantDeterminism(m_system);
|
||||
};
|
||||
Core::RunOnCPUThread(m_system, start_recording, true);
|
||||
|
Reference in New Issue
Block a user