mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-09 02:55:56 +00:00
[Movie] allow recording with any pad
(bongo/dancemat/adapter…)
This commit is contained in:
parent
d61ef9a95a
commit
7b2c54ad93
2 changed files with 18 additions and 2 deletions
|
@ -260,9 +260,25 @@ void Init()
|
|||
g_Channel[i].m_InLo.Hex = 0;
|
||||
|
||||
if (Movie::IsMovieActive())
|
||||
AddDevice(Movie::IsUsingPad(i) ? (Movie::IsUsingBongo(i) ? SIDEVICE_GC_TARUKONGA : SIDEVICE_GC_CONTROLLER) : SIDEVICE_NONE, i);
|
||||
{
|
||||
if (Movie::IsUsingPad(i))
|
||||
{
|
||||
SIDevices current = SConfig::GetInstance().m_SIDevice[i];
|
||||
// GC pad-compatible devices can be used for both playing and recording
|
||||
if (SIDevice_IsGCController(current))
|
||||
AddDevice(Movie::IsUsingBongo(i) ? SIDEVICE_GC_TARUKONGA : current, i);
|
||||
else
|
||||
AddDevice(Movie::IsUsingBongo(i) ? SIDEVICE_GC_TARUKONGA : SIDEVICE_GC_CONTROLLER, i);
|
||||
}
|
||||
else
|
||||
{
|
||||
AddDevice(SIDEVICE_NONE, i);
|
||||
}
|
||||
}
|
||||
else if (!NetPlay::IsNetPlayRunning())
|
||||
{
|
||||
AddDevice(SConfig::GetInstance().m_SIDevice[i], i);
|
||||
}
|
||||
}
|
||||
|
||||
g_Poll.Hex = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue