diff --git a/nx/include/switch/services/applet.h b/nx/include/switch/services/applet.h index 62b305ff..ae5475fb 100644 --- a/nx/include/switch/services/applet.h +++ b/nx/include/switch/services/applet.h @@ -203,7 +203,7 @@ Result appletEndBlockingHomeButton(void); * @param count Total entries in the input/output arrays. * @param out Output s32. */ -Result appletQueryApplicationPlayStatistics(AppletApplicationPlayStatistics *stats, u64 *titleIDs, s32 count, s32 *out); +Result appletQueryApplicationPlayStatistics(AppletApplicationPlayStatistics *stats, const u64 *titleIDs, s32 count, s32 *out); /** * @brief Delay exiting until \ref appletUnlockExit is called, with a 15 second timeout once exit is requested. diff --git a/nx/source/services/applet.c b/nx/source/services/applet.c index 6246f228..c9817673 100644 --- a/nx/source/services/applet.c +++ b/nx/source/services/applet.c @@ -1123,7 +1123,7 @@ Result appletInitializeGamePlayRecording(void) { } //Official sw has this under 'pdm'. -Result appletQueryApplicationPlayStatistics(AppletApplicationPlayStatistics *stats, u64 *titleIDs, s32 count, s32 *out) { +Result appletQueryApplicationPlayStatistics(AppletApplicationPlayStatistics *stats, const u64 *titleIDs, s32 count, s32 *out) { IpcCommand c; ipcInitialize(&c);