From: Twinaphex Date: Tue, 6 Dec 2016 19:01:12 +0000 (+0100) Subject: Merge pull request #42 from orbea/debug X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ece10758f091ca5758a19158cd6816aecffa642;hp=b2410633936aa216e7a82fa41fea5ee5ce1fb6ea;p=picodrive.git Merge pull request #42 from orbea/debug Actually fix the debug build --- diff --git a/pico/sound/ym2612.c b/pico/sound/ym2612.c index b06007b..ae53d04 100644 --- a/pico/sound/ym2612.c +++ b/pico/sound/ym2612.c @@ -582,7 +582,7 @@ INLINE void FM_KEYOFF(int c , int s ) /* set detune & multiple */ -INLINE void set_det_mul(FM_CH *CH, FM_SLOT *SLOT, int v) +static INLINE void set_det_mul(FM_CH *CH, FM_SLOT *SLOT, int v) { SLOT->mul = (v&0x0f)? (v&0x0f)*2 : 1; SLOT->DT = ym2612.OPN.ST.dt_tab[(v>>4)&7];