mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 06:16:43 +00:00
amadeus: Fix regression from #2654 on ListAudioDeviceName
This commit is contained in:
parent
40d1acd198
commit
32c09af71a
1 changed files with 2 additions and 2 deletions
|
@ -127,12 +127,12 @@ namespace Ryujinx.HLE.HOS.Services.Audio.AudioRenderer
|
||||||
|
|
||||||
foreach (VirtualDeviceSession session in _sessions)
|
foreach (VirtualDeviceSession session in _sessions)
|
||||||
{
|
{
|
||||||
if (!_isUsbDeviceSupported && _sessions[i].Device.IsUsbDevice())
|
if (!_isUsbDeviceSupported && session.Device.IsUsbDevice())
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
result[i] = _sessions[i].Device.Name;
|
result[i] = session.Device.Name;
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue