mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
DolphinQt: Save movie when closing emulation
Missing feature from DolphinWX.
This commit is contained in:
@ -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,7 +1565,7 @@ 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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user