1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-09-21 06:23:39 +01:00

Update usb.c

This commit is contained in:
Pablo Curiel 2020-05-09 02:32:01 -04:00
parent daedae88a8
commit 1f05a39560

View file

@ -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;