Skip to content

Commit

Permalink
add: update usbd import version for 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Sep 4, 2024
1 parent b1f7ff9 commit aca5416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iop/usb/usbd/include/usbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ int sceUsbdRegisterAutoloader(sceUsbdLddOps *drv); // Arbitrarily named
int sceUsbdUnregisterAutoloader(void); // Arbitrarily named
int sceUsbdChangeThreadPriority(int prio1, int prio2);

// these aren't implemented:
// These have been added in 1.2 export version
int sceUsbdGetReportDescriptor(int devId, int cfgNum, int ifNum, void **desc, u32 *len);
int sceUsbdMultiIsochronousTransfer(int pipeId, sceUsbdMultiIsochronousRequest *request, sceUsbdMultiIsochronousDoneCallback callback, void *cbArg);

Expand All @@ -334,7 +334,7 @@ int sceUsbdMultiIsochronousTransfer(int pipeId, sceUsbdMultiIsochronousRequest *
#define UsbGetReportDescriptor sceUsbdGetReportDescriptor
#define UsbMultiIsochronousTransfer sceUsbdMultiIsochronousTransfer

#define usbd_IMPORTS_start DECLARE_IMPORT_TABLE(usbd, 1, 1)
#define usbd_IMPORTS_start DECLARE_IMPORT_TABLE(usbd, 1, 2)
#define usbd_IMPORTS_end END_IMPORT_TABLE

#define I_sceUsbdRegisterLdd DECLARE_IMPORT(4, sceUsbdRegisterLdd)
Expand Down

0 comments on commit aca5416

Please sign in to comment.