From 703ab56587aac0d79ccc0f72f2b8d9ee235e20a5 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 27 May 2024 23:24:19 +0100 Subject: Use SDCC's new calling convention (this is an ABI breaking change, and will require changes to user-written asm functions or their declarations) --- include/mplayer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/mplayer.h') 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 -- cgit v1.2.3