diff --git a/src/mame/drivers/atlantis.cpp b/src/mame/drivers/atlantis.cpp index 999ead3ad41..65102eee960 100644 --- a/src/mame/drivers/atlantis.cpp +++ b/src/mame/drivers/atlantis.cpp @@ -842,8 +842,8 @@ static MACHINE_CONFIG_START( mwskins, atlantis_state ) MCFG_PALETTE_ADD_BBBBBGGGGGRRRRR("palette") /* sound hardware */ - MCFG_DEVICE_ADD("dcs", DCS2_AUDIO_DSIO, 0) - //MCFG_DEVICE_ADD("dcs", DCS2_AUDIO_DENVER, 0) + //MCFG_DEVICE_ADD("dcs", DCS2_AUDIO_DSIO, 0) + MCFG_DEVICE_ADD("dcs", DCS2_AUDIO_DENVER, 0) MCFG_DCS2_AUDIO_DRAM_IN_MB(8) MCFG_DCS2_AUDIO_POLLING_OFFSET(0) /* no place to hook :-( */ diff --git a/src/mame/drivers/vegas.cpp b/src/mame/drivers/vegas.cpp index 661a16bd799..c37bc504d3e 100644 --- a/src/mame/drivers/vegas.cpp +++ b/src/mame/drivers/vegas.cpp @@ -1195,7 +1195,7 @@ WRITE32_MEMBER( vegas_state::nile_w ) // logerror("Unexpected value: timer %d is prescaled\n", which); if (m_nile_regs[offset] & 2) { UINT32 scaleSrc = (m_nile_regs[offset] >> 2) & 0x3; - scale *= m_nile_regs[NREG_T0CTRL + which * 4]; + scale *= m_nile_regs[NREG_T0CTRL + scaleSrc * 4]; logerror("Timer scale: timer %d is scaled by %08X\n", which, m_nile_regs[NREG_T0CTRL + which * 4]); } if (scale != 0) @@ -1211,7 +1211,7 @@ WRITE32_MEMBER( vegas_state::nile_w ) UINT32 scale = 1; if (m_nile_regs[offset] & 2) { UINT32 scaleSrc = (m_nile_regs[offset] >> 2) & 0x3; - scale = m_nile_regs[NREG_T0CTRL + which * 4]; + scale = m_nile_regs[NREG_T0CTRL + scaleSrc * 4]; logerror("Timer scale: timer %d is scaled by %08X\n", which, scale); } m_nile_regs[offset + 1] = m_timer[which]->remaining().as_double() * SYSTEM_CLOCK / scale; @@ -1234,7 +1234,7 @@ WRITE32_MEMBER( vegas_state::nile_w ) UINT32 scale = 1; if (m_nile_regs[offset - 1] & 2) { UINT32 scaleSrc = (m_nile_regs[offset - 1] >> 2) & 0x3; - scale = m_nile_regs[NREG_T0CTRL + which * 4]; + scale = m_nile_regs[NREG_T0CTRL + scaleSrc * 4]; logerror("Timer scale: timer %d is scaled by %08X\n", which, scale); } m_timer[which]->adjust(TIMER_PERIOD * m_nile_regs[offset] * scale, which);