summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Phil Bennett <philipjbennett@users.noreply.github.com>2007-12-21 01:32:15 +0000
committer Phil Bennett <philipjbennett@users.noreply.github.com>2007-12-21 01:32:15 +0000
commit4371646560e603f9a938557e57d22f53a9444fe3 (patch)
tree931b5b1bd962b9af6a5590738331194c5307f3e4
parent047ec5ff5c6c3e798b53b0816b7971a5c6b6c3ca (diff)
Workaround for ym2610_0119u2gre
-rw-r--r--src/emu/sound/fm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/sound/fm.c b/src/emu/sound/fm.c
index fd1e4a34ecc..8f02e1f26fd 100644
--- a/src/emu/sound/fm.c
+++ b/src/emu/sound/fm.c
@@ -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;