From 3f652750d36bcc060ea3dd2b69d11656d0054ac7 Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Sat, 23 Feb 2008 20:36:43 +0000 Subject: [PATCH] Fixed compilation error when compiled for MESS --- src/emu/sound/5220intf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emu/sound/5220intf.c b/src/emu/sound/5220intf.c index 3e227743267..634f579085e 100644 --- a/src/emu/sound/5220intf.c +++ b/src/emu/sound/5220intf.c @@ -73,12 +73,14 @@ static void *tms5220_start(int sndindex, int clock, const void *config) } +#if (HAS_TMC0285) && (HAS_TMS5200) static void *tms5200_start(int sndindex, int clock, const void *config) { struct tms5220_info *info = tms5220_start(sndindex, clock, config); tms5220_set_variant(info->chip, variant_tmc0285); return info; } +#endif /* (HAS_TMC0285) && (HAS_TMS5200) */