diff --git a/nx/include/switch/services/set.h b/nx/include/switch/services/set.h index c77e3e5d..4c7eb3d2 100644 --- a/nx/include/switch/services/set.h +++ b/nx/include/switch/services/set.h @@ -67,5 +67,8 @@ void setsysExit(void); /// Gets the current system theme. Result setsysGetColorSetId(ColorSetId* out); -/// Gets the serial number. -Result setGetSerialNumber(char *serial); +/** + * @brief Gets the system's serial number. + * @param serial Pointer to output the serial to. (The buffer size needs to be at least 0x18 bytes) + */ +Result setsysGetSerialNumber(char *serial); diff --git a/nx/source/services/set.c b/nx/source/services/set.c index 9e815bb0..40c9c822 100644 --- a/nx/source/services/set.c +++ b/nx/source/services/set.c @@ -347,7 +347,7 @@ Result setsysGetColorSetId(ColorSetId* out) } -Result setGetSerialNumber(char *serial) { +Result setsysGetSerialNumber(char *serial) { IpcCommand c; ipcInitialize(&c);