From 2e3fd9bd9f2e31d1a4639d995838653a07d20aa5 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Sat, 5 Jan 2019 14:47:42 -0500 Subject: [PATCH] Use const for appletQueryApplicationPlayStatistics. --- nx/include/switch/services/applet.h | 2 +- nx/source/services/applet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);