diff options
author | Ted Green <tedgreen99@inbox.com> | 2016-06-08 13:26:57 -0600 |
---|---|---|
committer | Ted Green <tedgreen99@inbox.com> | 2016-06-08 13:26:57 -0600 |
commit | e0b883a0158308da5bad4bbdd8c89ac76605e1d3 (patch) | |
tree | 901e65b4fdaff6da27896bfb84d899af079f03b7 /src/mame | |
parent | f1fcc209e7e329056add9ff6aa9896a8d15a7806 (diff) |
Fix typo in vegas and change atlantis to denver audio (nw)
Diffstat (limited to 'src/mame')
-rw-r--r-- | src/mame/drivers/atlantis.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/vegas.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
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); |