mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-23 02:36:41 +00:00
Update usb.c
This commit is contained in:
parent
daedae88a8
commit
1f05a39560
1 changed files with 5 additions and 1 deletions
|
@ -83,7 +83,8 @@ typedef enum {
|
||||||
UsbStatusType_InvalidMagicWord = 4,
|
UsbStatusType_InvalidMagicWord = 4,
|
||||||
UsbStatusType_UnsupportedCommand = 5,
|
UsbStatusType_UnsupportedCommand = 5,
|
||||||
UsbStatusType_UnsupportedAbiVersion = 6,
|
UsbStatusType_UnsupportedAbiVersion = 6,
|
||||||
UsbStatusType_HostIoError = 7
|
UsbStatusType_MalformedCommand = 7,
|
||||||
|
UsbStatusType_HostIoError = 8
|
||||||
} UsbStatusType;
|
} UsbStatusType;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -433,6 +434,9 @@ NX_INLINE void usbLogStatusDetail(u32 status)
|
||||||
case UsbStatusType_UnsupportedAbiVersion:
|
case UsbStatusType_UnsupportedAbiVersion:
|
||||||
LOGFILE("Host replied with Unsupported ABI Version status code.");
|
LOGFILE("Host replied with Unsupported ABI Version status code.");
|
||||||
break;
|
break;
|
||||||
|
case UsbStatusType_MalformedCommand:
|
||||||
|
LOGFILE("Host replied with Malformed Command status code.");
|
||||||
|
break;
|
||||||
case UsbStatusType_HostIoError:
|
case UsbStatusType_HostIoError:
|
||||||
LOGFILE("Host replied with I/O Error status code.");
|
LOGFILE("Host replied with I/O Error status code.");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue