mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
[NetPlay] Allow recording movies during netplay.
Fixes issue 6207.
This commit is contained in:
parent
7e1959a200
commit
8ae10b3e12
7 changed files with 71 additions and 6 deletions
|
@ -354,6 +354,9 @@ NetPlayDiag::NetPlayDiag(wxWindow* const parent, const CGameListCtrl* const game
|
|||
bottom_szr->Add(m_memcard_write, 0, wxCENTER);
|
||||
}
|
||||
|
||||
m_record_chkbox = new wxCheckBox(panel, wxID_ANY, _("Record input"));
|
||||
bottom_szr->Add(m_record_chkbox, 0, wxCENTER);
|
||||
|
||||
bottom_szr->AddStretchSpacer(1);
|
||||
bottom_szr->Add(quit_btn);
|
||||
|
||||
|
@ -565,6 +568,11 @@ void NetPlayDiag::OnConfigPads(wxCommandEvent&)
|
|||
netplay_server->SetPadMapping(mapping);
|
||||
}
|
||||
|
||||
bool NetPlayDiag::IsRecording()
|
||||
{
|
||||
return m_record_chkbox->GetValue();
|
||||
}
|
||||
|
||||
ChangeGameDiag::ChangeGameDiag(wxWindow* const parent, const CGameListCtrl* const game_list, wxString& game_name)
|
||||
: wxDialog(parent, wxID_ANY, _("Change Game"), wxDefaultPosition, wxDefaultSize)
|
||||
, m_game_name(game_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue