mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
redclash: add minimal beeper frequency
This commit is contained in:
parent
c496bc69a4
commit
5beaab0f3b
@ -514,7 +514,7 @@ void redclash_state::beeper_w(u8 data)
|
|||||||
{
|
{
|
||||||
// beeper frequency (0xff is off), preliminary
|
// beeper frequency (0xff is off), preliminary
|
||||||
bool on = m_sound_on && (data != 0xff);
|
bool on = m_sound_on && (data != 0xff);
|
||||||
m_beep_clock->set_period(attotime::from_hz(on ? data * 8 : 0));
|
m_beep_clock->set_period(attotime::from_hz(on ? (data * 8 + 32) : 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user