aboutsummaryrefslogtreecommitdiff
path: root/include/mplayer.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-05-06 22:00:16 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-05-06 22:00:16 +0100
commitc9f28c1ce3ffda9c407003a26adf903d810b681b (patch)
tree0387d4fa236b37519f33295352aceb1babb98700 /include/mplayer.h
parent3a8be8c9949ac8c37822bed7cf407b46df6dbd0b (diff)
downloadubox-msx-lib-c9f28c1ce3ffda9c407003a26adf903d810b681b.tar.gz
ubox-msx-lib-c9f28c1ce3ffda9c407003a26adf903d810b681b.zip
Set tighter qualifiers for pointer parameters
This should prevent warnings when using source data from ROM.
Diffstat (limited to 'include/mplayer.h')
-rw-r--r--include/mplayer.h4
1 files changed, 2 insertions, 2 deletions
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