aboutsummaryrefslogtreecommitdiff
path: root/include/mplayer.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-05-27 23:24:19 +0100
committerJuan J. Martinez <jjm@usebox.net>2024-05-27 23:24:19 +0100
commit703ab56587aac0d79ccc0f72f2b8d9ee235e20a5 (patch)
tree32b186dc14c56fe19c004a403eeaaf7e2dd0b10f /include/mplayer.h
parent420ac2c8f2307ddcbe551972544bbe11f05ee7ff (diff)
downloadubox-msx-lib-703ab56587aac0d79ccc0f72f2b8d9ee235e20a5.tar.gz
ubox-msx-lib-703ab56587aac0d79ccc0f72f2b8d9ee235e20a5.zip
Use SDCC's new calling convention
(this is an ABI breaking change, and will require changes to user-written asm functions or their declarations)
Diffstat (limited to 'include/mplayer.h')
-rw-r--r--include/mplayer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mplayer.h b/include/mplayer.h
index c13ac56..3ec66db 100644
--- a/include/mplayer.h
+++ b/include/mplayer.h
@@ -77,7 +77,7 @@ void mplayer_init(const 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(const uint8_t *effects) __z88dk_fastcall;
+void mplayer_init_effects(const uint8_t *effects);
// @Playback
@@ -170,12 +170,12 @@ void mplayer_play_effect_p(uint8_t effect_no, uint8_t chan, uint8_t inv_vol);
/**
* Stops the effect being played on `chan` channel.
*/
-void mplayer_stop_effect_channel(uint8_t chan) __z88dk_fastcall;
+void mplayer_stop_effect_channel(uint8_t chan);
/**
* Returns 0 if there's no sound effect being played on `chan` channel, or
* a value different than 0 otherwise.
*/
-uint8_t mplayer_is_sound_effect_on(uint8_t chan) __z88dk_fastcall;
+uint8_t mplayer_is_sound_effect_on(uint8_t chan);
#endif // _MPLAYER_H