mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 01:30:29 +01:00
SPU2-X: Tweak the quick fix in the previous rev a little: also select the default device if a GUID is specified but not present in the enumeration.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5317 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
aa54e28add
commit
179246a4eb
1 file changed
+1
-1
@@ -298,7 +298,7 @@ private:
|
||||
for(int i=0;i<ndevs;i++)
|
||||
{
|
||||
SendMessage(GetDlgItem(hWnd,IDC_DS_DEVICE),CB_ADDSTRING,0,(LPARAM)m_devices[i].name.c_str());
|
||||
if(haveGuid && IsEqualGUID(m_devices[i].guid,DevGuid) || !haveGuid && !m_devices[i].hasGuid)
|
||||
if(haveGuid && IsEqualGUID(m_devices[i].guid,DevGuid) || tSel < 0 && !m_devices[i].hasGuid)
|
||||
tSel = i;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user