mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
DolphinQt: Save movie when closing emulation
Missing feature from DolphinWX.
This commit is contained in:
parent
7944a055a6
commit
6c89957cf1
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue