mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Movie: Do not attempt to record input when the emulation has not started yet.
Fixes a null pointer exception when the user starts the recording during a state transition.
This commit is contained in:
@ -444,7 +444,7 @@ bool BeginRecordingInput(int controllers)
|
||||
if (SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_TARUKONGA)
|
||||
bongos |= (1 << i);
|
||||
|
||||
if (Core::IsRunning())
|
||||
if (Core::IsRunningAndStarted())
|
||||
{
|
||||
if (File::Exists(tmpStateFilename))
|
||||
File::Delete(tmpStateFilename);
|
||||
|
Reference in New Issue
Block a user