mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Add an IsMovieActive function.
Makes things a bit simpler, since this is a common check.
This commit is contained in:
parent
46c18aa909
commit
5a163ec5e6
10 changed files with 25 additions and 20 deletions
|
@ -757,7 +757,7 @@ void CConfigMain::CreateGUIControls()
|
|||
{
|
||||
sbGamecubeDevSettings->Add(GCSIDeviceText[i], 1, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxBOTTOM, 0);
|
||||
sbGamecubeDevSettings->Add(GCSIDevice[i], 1, wxEXPAND|wxLEFT|wxRIGHT|wxBOTTOM, 0);
|
||||
if (NetPlay::IsNetPlayRunning() || Movie::IsRecordingInput() || Movie::IsPlayingInput())
|
||||
if (NetPlay::IsNetPlayRunning() || Movie::IsMovieActive())
|
||||
{
|
||||
GCSIDevice[i]->Disable();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue