diff options
author | Curt Coder <curtcoder@mail.com> | 2013-09-16 19:06:53 +0000 |
---|---|---|
committer | Curt Coder <curtcoder@mail.com> | 2013-09-16 19:06:53 +0000 |
commit | aed49c4da382d69f238375a33b05b0fe70d20d57 (patch) | |
tree | 30c7449cb0f6fbd40a308c81cfabf32c7d307a28 | |
parent | a2381079c4f6b8576ba6938f66f30ba71562ad54 (diff) |
mos6560: Fixed warning. (nw)
-rw-r--r-- | src/emu/sound/mos6560.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/mos6560.c b/src/emu/sound/mos6560.c index 5b37431a4ab..003ebef3bc6 100644 --- a/src/emu/sound/mos6560.c +++ b/src/emu/sound/mos6560.c @@ -554,7 +554,7 @@ void mos6560_device::soundport_w( int offset, int data ) { m_tone1pos = 0; m_tone1samples = machine().sample_rate() / TONE1_FREQUENCY; - if (!m_tone1samples == 0) + if (m_tone1samples == 0) m_tone1samples = 1; } DBG_LOG(1, "mos6560", ("tone1 %.2x %d\n", data, TONE1_FREQUENCY)); |