mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-20 21:12:38 +02:00
fix identifier for latest libnx
This commit is contained in:
parent
46acf316d3
commit
42cb89013d
@ -126,7 +126,7 @@ int main(int argc, char **argv)
|
||||
.SerialNumber = "1337",
|
||||
};
|
||||
|
||||
ret = usbDsInitialize(USBCOMPLEXID_Default, &deviceinfo);
|
||||
ret = usbDsInitialize(UsbComplexId_Default, &deviceinfo);
|
||||
|
||||
if (R_SUCCEEDED(ret)) {
|
||||
u8 *tmpbuf = memalign(0x1000, 0x1000);//The buffer for PostBufferAsync commands must be 0x1000-byte aligned.
|
||||
|
Loading…
Reference in New Issue
Block a user