Skip to content

Commit

Permalink
Merge pull request #2401 from lioncash/typo
Browse files Browse the repository at this point in the history
WII_IPC_HLE_Device_hid: Fix a function name typo
  • Loading branch information
lioncash committed May 11, 2015
2 parents 5bbaa85 + 4f8b72c commit 3bea58e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp
Expand Up @@ -456,7 +456,7 @@ void CWII_IPC_HLE_Device_hid::FillOutDevices(u32 BufferOut, u32 BufferOutSize)
{
Memory::Write_U32(OffsetBuffer-OffsetStart, OffsetStart); // fill in length

int devNum = GetAvaiableDevNum(desc.idVendor,
int devNum = GetAvailableDevNum(desc.idVendor,
desc.idProduct,
libusb_get_bus_number (device),
libusb_get_device_address (device),
Expand Down Expand Up @@ -617,7 +617,7 @@ libusb_device_handle * CWII_IPC_HLE_Device_hid::GetDeviceByDevNum(u32 devNum)
}


int CWII_IPC_HLE_Device_hid::GetAvaiableDevNum(u16 idVendor, u16 idProduct, u8 bus, u8 port, u16 check)
int CWII_IPC_HLE_Device_hid::GetAvailableDevNum(u16 idVendor, u16 idProduct, u8 bus, u8 port, u16 check)
{
int pos = -1;
u64 unique_id = ((u64)idVendor << 32) | ((u64)idProduct << 16) | ((u64)bus << 8) | (u64)port;
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.h
Expand Up @@ -119,7 +119,7 @@ class CWII_IPC_HLE_Device_hid : public IWII_IPC_HLE_Device

u32 deviceCommandAddress;
void FillOutDevices(u32 BufferOut, u32 BufferOutSize);
int GetAvaiableDevNum(u16 idVendor, u16 idProduct, u8 bus, u8 port, u16 check);
int GetAvailableDevNum(u16 idVendor, u16 idProduct, u8 bus, u8 port, u16 check);
bool ClaimDevice(libusb_device_handle* dev);

void ConvertDeviceToWii(WiiHIDDeviceDescriptor* dest, const libusb_device_descriptor* src);
Expand Down

0 comments on commit 3bea58e

Please sign in to comment.