From 2a7cbfdfd0cea083d9038ba4c4d2faf5427ed1ec Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 14 Apr 2014 15:55:28 +0200 Subject: [PATCH] Clang fix build --- pico/sound/ym2612.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pico/sound/ym2612.c b/pico/sound/ym2612.c index efe5054..55234f6 100644 --- a/pico/sound/ym2612.c +++ b/pico/sound/ym2612.c @@ -742,7 +742,7 @@ INLINE int advance_lfo(int lfo_ampm, UINT32 lfo_cnt_old, UINT32 lfo_cnt) #define EG_INC_VAL() \ ((1 << ((pack >> ((eg_cnt>>shift)&7)*3)&7)) >> 1) -INLINE UINT32 update_eg_phase(FM_SLOT *SLOT, UINT32 eg_cnt) +UINT32 update_eg_phase(FM_SLOT *SLOT, UINT32 eg_cnt) { INT32 volume = SLOT->volume; @@ -1201,7 +1201,7 @@ static int chan_render(int *buffer, int length, int c, UINT32 flags) // flags: s } /* update phase increment and envelope generator */ -INLINE void refresh_fc_eg_slot(FM_SLOT *SLOT, int fc, int kc) +void refresh_fc_eg_slot(FM_SLOT *SLOT, int fc, int kc) { int ksr, fdt; -- 2.39.2