dolphin/Source/Core
Léo Lam ef8b3cb960 USB_VEN: Construct device IDs properly
Fix the device ID struct to reflect the actual structure used by IOS.

It turns out that offset 2 is the internal device index. The reason
that field seemed to be "0x1e - interface_number" is that IOS only
keeps track of 32 devices and always looks for free entries from
the end of the internal array. With each USB interface being exposed
as a separate USBv5 device, "0x1e - interface_number" was mostly
correct... but wrong!

We also made the assumption that the interface number can be
identified from just a USBV5 device ID, which is definitely not true.
VEN (and HID) keep track of the interface number in the internal struct
instead of "reconstructing" it from the device ID (which is normally
not possible if we were generating IDs correctly)

This commit fixes all of these inaccuracies.
2017-11-03 19:01:47 +01:00
..
AudioCommon Merge pull request #6130 from ligfx/emptynullsoundstream 2017-10-24 11:44:22 +02:00
Common MemArena: Use names that are based on the PID 2017-10-11 17:40:05 +02:00
Core USB_VEN: Construct device IDs properly 2017-11-03 19:01:47 +01:00
DiscIO Merge pull request #6148 from leoetlino/null-bug 2017-10-29 10:30:03 +01:00
DolphinNoGUI UI: Implement a command line option to boot NAND title 2017-10-24 11:41:55 +02:00
DolphinQt2 Merge pull request #6159 from JosJuice/consistent-gui-strings 2017-11-03 14:18:54 +01:00
DolphinWX Merge pull request #6159 from JosJuice/consistent-gui-strings 2017-11-03 14:18:54 +01:00
InputCommon Prevent multiple HID elements of same usage type on OSX 2017-09-15 19:19:46 +02:00
UICommon UI: Implement a command line option to boot NAND title 2017-10-24 11:41:55 +02:00
VideoBackends Merge pull request #6118 from Tomcc/master 2017-10-31 21:37:20 +01:00
VideoCommon Fixed fog, lava, water in Mario Galaxy (and possibly other games) in higher IRs by detecting & fixing the mipmaps that aren't just used for downscaling, but are handmade to create a gradient. 2017-10-27 00:45:20 -07:00
CMakeLists.txt Moved NoGUI out of DolphinWx. 2017-03-08 01:24:18 -08:00