From f603d45ff999670414ee48fef73689b2ef1a9ea0 Mon Sep 17 00:00:00 2001 From: Brian Troha Date: Fri, 16 Aug 2013 17:25:15 +0000 Subject: [PATCH] f-32.c: Use XTAL clocks in the machine config so we can clearly see where the 1.7897725 MHz comes from - NW --- src/mame/drivers/f-32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/f-32.c b/src/mame/drivers/f-32.c index 4a5214dc5c8..1b693821c6a 100644 --- a/src/mame/drivers/f-32.c +++ b/src/mame/drivers/f-32.c @@ -134,7 +134,7 @@ INPUT_PORTS_END static MACHINE_CONFIG_START( mosaicf2, mosaicf2_state ) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", E132XN, 20000000*4) /* 4x internal multiplier */ + MCFG_CPU_ADD("maincpu", E132XN, XTAL_20MHz*4) /* 4x internal multiplier */ MCFG_CPU_PROGRAM_MAP(common_map) MCFG_CPU_IO_MAP(mosaicf2_io) MCFG_CPU_VBLANK_INT_DRIVER("screen", mosaicf2_state, irq0_line_hold) @@ -155,11 +155,11 @@ static MACHINE_CONFIG_START( mosaicf2, mosaicf2_state ) /* sound hardware */ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") - MCFG_YM2151_ADD("ymsnd", 14318180/4) + MCFG_YM2151_ADD("ymsnd", XTAL_14_31818MHz/4) /* 3.579545 MHz */ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) - MCFG_OKIM6295_ADD("oki", 1789772.5, OKIM6295_PIN7_HIGH) + MCFG_OKIM6295_ADD("oki", XTAL_14_31818MHz/8, OKIM6295_PIN7_HIGH) /* 1.7897725 MHz */ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0) MACHINE_CONFIG_END