summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYifan Lu2017-05-04 19:25:56 -0700
committerGitHub2017-05-04 19:25:56 -0700
commit7d387ff307c26208a0cda6cea2599cc80881b2de (patch)
tree0dcab5880735dc3ecea8a279f62a527cd427daf1 /include
parentMerge pull request #166 from Rinnegatamante/patch-1 (diff)
downloadvds-libraries-7d387ff307c26208a0cda6cea2599cc80881b2de.tar.gz
Update usbd.h
Argument 1 was wrong
Diffstat (limited to 'include')
-rw-r--r--include/kernel/usbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel/usbd.h b/include/kernel/usbd.h
index 8145e91..23d6c3a 100644
--- a/include/kernel/usbd.h
+++ b/include/kernel/usbd.h
@@ -75,7 +75,7 @@ int sceUsbdRegisterDriver(const SceUsbdDriver *driver);
int sceUsbdRegisterCompositeLdd(const SceUsbdDriver *driver);
int sceUsbdUnregisterDriver(const SceUsbdDriver *driver);
-void *sceUsbdGetDescriptor(int device_id, int index, unsigned char bDescriptorType);
+void *sceUsbdGetDescriptor(int device_id, void *prevDescriptor, unsigned char bDescriptorType);
// endpoint = NULL to open the default control endpoint
int sceUsbdOpenEndpoint(int device_id, SceUsbdEndpointDescriptor *endpoint);