mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
mos6560: Fixed warning. (nw)
This commit is contained in:
parent
a2381079c4
commit
aed49c4da3
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user