DolphinQt: Save movie when closing emulation
Missing feature from DolphinWX.
This commit is contained in:
parent
7944a055a6
commit
6c89957cf1
|
@ -776,7 +776,7 @@ bool MainWindow::RequestStop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Add Movie shutdown
|
OnStopRecording();
|
||||||
// TODO: Add Debugger shutdown
|
// TODO: Add Debugger shutdown
|
||||||
|
|
||||||
if (!m_stop_requested && UICommon::TriggerSTMPowerEvent())
|
if (!m_stop_requested && UICommon::TriggerSTMPowerEvent())
|
||||||
|
@ -1565,8 +1565,8 @@ void MainWindow::OnStopRecording()
|
||||||
{
|
{
|
||||||
if (Movie::IsRecordingInput())
|
if (Movie::IsRecordingInput())
|
||||||
OnExportRecording();
|
OnExportRecording();
|
||||||
|
if (Movie::IsMovieActive())
|
||||||
Movie::EndPlayInput(false);
|
Movie::EndPlayInput(false);
|
||||||
emit RecordingStatusChanged(true);
|
emit RecordingStatusChanged(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue