DolphinQt: Save movie when closing emulation

Missing feature from DolphinWX.
This commit is contained in:
JosJuice 2019-03-13 15:34:00 +01:00
parent 7944a055a6
commit 6c89957cf1
1 changed files with 3 additions and 3 deletions

View File

@ -776,7 +776,7 @@ bool MainWindow::RequestStop()
}
}
// TODO: Add Movie shutdown
OnStopRecording();
// TODO: Add Debugger shutdown
if (!m_stop_requested && UICommon::TriggerSTMPowerEvent())
@ -1565,8 +1565,8 @@ void MainWindow::OnStopRecording()
{
if (Movie::IsRecordingInput())
OnExportRecording();
Movie::EndPlayInput(false);
if (Movie::IsMovieActive())
Movie::EndPlayInput(false);
emit RecordingStatusChanged(true);
}