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:
parent
db7e746cb4
commit
4df00ae544
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue