mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01:00
Send stop message before saving recording
When recording during netplay, the stop message was only sent after you have chosen a filename for the replay, causing the other player(s) to freeze for a few seconds. This takes care of the annoyance.
This commit is contained in:
parent
d6e051c942
commit
11cab1c68d
@ -881,15 +881,15 @@ void CFrame::DoStop()
|
|||||||
Core::SetState(state);
|
Core::SetState(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (NetPlayDialog::GetNetPlayClient())
|
||||||
|
NetPlayDialog::GetNetPlayClient()->Stop();
|
||||||
|
|
||||||
// TODO: Show the author/description dialog here
|
// TODO: Show the author/description dialog here
|
||||||
if (Movie::IsRecordingInput())
|
if (Movie::IsRecordingInput())
|
||||||
DoRecordingSave();
|
DoRecordingSave();
|
||||||
if (Movie::IsMovieActive())
|
if (Movie::IsMovieActive())
|
||||||
Movie::EndPlayInput(false);
|
Movie::EndPlayInput(false);
|
||||||
|
|
||||||
if (NetPlayDialog::GetNetPlayClient())
|
|
||||||
NetPlayDialog::GetNetPlayClient()->Stop();
|
|
||||||
|
|
||||||
if (!m_tried_graceful_shutdown && UICommon::TriggerSTMPowerEvent())
|
if (!m_tried_graceful_shutdown && UICommon::TriggerSTMPowerEvent())
|
||||||
{
|
{
|
||||||
m_tried_graceful_shutdown = true;
|
m_tried_graceful_shutdown = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user