diff options
author | 2008-01-24 02:42:13 +0000 | |
---|---|---|
committer | 2008-01-24 02:42:13 +0000 | |
commit | f1d2bde33382ed6b252a2d9ef3d611ab6e0090b4 (patch) | |
tree | 01417847ba3a475c8343dd19dc82a66323d3de97 /src | |
parent | 6d5ae15ab0aa4b889ed61427c142c314fcacc6ab (diff) |
Formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/drivers/berzerk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/berzerk.c b/src/mame/drivers/berzerk.c index f31a3ff4e1e..6a7f0c4cb0b 100644 --- a/src/mame/drivers/berzerk.c +++ b/src/mame/drivers/berzerk.c @@ -494,8 +494,8 @@ static WRITE8_HANDLER( berzerk_audio_w ) { /* volume and frequency control goes here */ /* mame_printf_debug("TODO: VSU-1000 Control write (ignored for now)\n");*/ - S14001A_set_volume(((data & 0x38) >> 3) + 1); - S14001A_set_rate((16 - (data & 0x07)) * 16); /* second LS161 has load triggered by its own TC(when it equals 16) long before the first ls161 will TC and fire again, so effectively it only divides by 15 and not 16. If the clock, as opposed to the E enable, had been tied to the first LS161's TC instead, it would divide by 16 as expected */ + S14001A_set_volume(((data & 0x38) >> 3) + 1); + S14001A_set_rate((16 - (data & 0x07)) * 16); /* second LS161 has load triggered by its own TC(when it equals 16) long before the first ls161 will TC and fire again, so effectively it only divides by 15 and not 16. If the clock, as opposed to the E enable, had been tied to the first LS161's TC instead, it would divide by 16 as expected */ } else if ((data & 0xc0) != 0x00) /* vsu-1000 ignores these writes entirely */ @@ -516,8 +516,8 @@ static WRITE8_HANDLER( berzerk_audio_w ) } break; + /* everything else writes to the 6840 */ default: - /* everything else writes to the 6840 */ exidy_sh6840_w(offset, data); break; |