From c9f28c1ce3ffda9c407003a26adf903d810b681b Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 6 May 2023 22:00:16 +0100 Subject: Set tighter qualifiers for pointer parameters This should prevent warnings when using source data from ROM. --- include/mplayer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mplayer.h') diff --git a/include/mplayer.h b/include/mplayer.h index 8d36516..12bdc5e 100644 --- a/include/mplayer.h +++ b/include/mplayer.h @@ -56,7 +56,7 @@ * See [exporting songs and effects](#exporting-songs-and-effects) for details * on how to add songs to your project. */ -void mplayer_init(uint8_t *song, uint8_t sub_song); +void mplayer_init(const uint8_t *song, uint8_t sub_song); /** * Inits the effects table. @@ -77,7 +77,7 @@ void mplayer_init(uint8_t *song, uint8_t sub_song); * See [exporting songs and effects](#exporting-songs-and-effects) for details * on how to add effects to your project. */ -void mplayer_init_effects(uint8_t *effects) __z88dk_fastcall; +void mplayer_init_effects(const uint8_t *effects) __z88dk_fastcall; // @Playback -- cgit v1.2.3