mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
Even better naming
This commit is contained in:
parent
7ef8f82ed1
commit
8b76e5437a
@ -312,14 +312,14 @@ Result hidsysGetUniquePadSerialNumber(u64 UniquePadId, char *serial) {
|
||||
struct {
|
||||
u64 magic;
|
||||
u64 cmd_id;
|
||||
u64 pad_id;
|
||||
u64 UniquePadId;
|
||||
} *raw;
|
||||
|
||||
raw = serviceIpcPrepareHeader(&g_hidsysSrv, &c, sizeof(*raw));
|
||||
|
||||
raw->magic = SFCI_MAGIC;
|
||||
raw->cmd_id = 809;
|
||||
raw->pad_id = UniquePadId;
|
||||
raw->UniquePadId = UniquePadId;
|
||||
|
||||
Result rc = serviceIpcDispatch(&g_hidsysSrv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user