Workaround for ym2610_0119u2gre

This commit is contained in:
Phil Bennett 2007-12-21 01:32:15 +00:00
parent 047ec5ff5c
commit 4371646560

View File

@ -1394,7 +1394,8 @@ INLINE void refresh_fc_eg_slot(FM_SLOT *SLOT , int fc , int kc )
}
/* update phase increment counters */
INLINE void refresh_fc_eg_chan(FM_CH *CH )
/* Changed from INLINE to static to work around gcc 4.2.1 codegen bug */
static void refresh_fc_eg_chan(FM_CH *CH )
{
if( CH->SLOT[SLOT1].Incr==-1){
int fc = CH->fc;