Merit Match Games driver: Some cleanup for coding standards,

and fixed Coinage DIP switches. [Roberto Fresca]
This commit is contained in:
RobertoFresca 2016-05-26 22:54:18 -03:00
parent cfdec4e84f
commit f4fa42efec

View File

@ -516,10 +516,8 @@ WRITE8_MEMBER(mgames_state::outport7_w)
05 | ---- | ---- | ---- | bit2 05 | ---- | ---- | ---- | bit2
WRITE8_MEMBER(mgames_state::sound_w) We're tracing the discrete circuitry...
//{
// m_dac->write_unsigned8(data);
//}
*/ */
static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, mgames_state ) static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, mgames_state )
@ -572,8 +570,8 @@ static INPUT_PORTS_START( mgames )
PORT_DIPSETTING( 0x04, DEF_STR( 4C_1C ) ) PORT_DIPSETTING( 0x04, DEF_STR( 4C_1C ) )
PORT_DIPSETTING( 0x05, "5 Coins/2 Credits" ) PORT_DIPSETTING( 0x05, "5 Coins/2 Credits" )
PORT_DIPSETTING( 0x06, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x06, DEF_STR( 2C_1C ) )
// PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) ) --> damn check... you can't set 2 different bits pointing to the same coinage. PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x0f, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x0f, DEF_STR( 1C_1C ) ) // Yes, again...
PORT_DIPSETTING( 0x0e, DEF_STR( 1C_2C ) ) PORT_DIPSETTING( 0x0e, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x0d, DEF_STR( 2C_5C ) ) PORT_DIPSETTING( 0x0d, DEF_STR( 2C_5C ) )
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_4C ) ) PORT_DIPSETTING( 0x0c, DEF_STR( 1C_4C ) )
@ -654,9 +652,8 @@ static MACHINE_CONFIG_START( mgames, mgames_state )
MCFG_PALETTE_INIT_OWNER(mgames_state, mgames) MCFG_PALETTE_INIT_OWNER(mgames_state, mgames)
/* sound hardware */ /* sound hardware */
// MCFG_SPEAKER_STANDARD_MONO("mono") // to do...
// MCFG_DAC_ADD("dac")
// MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END MACHINE_CONFIG_END