diff options
Diffstat (limited to 'src/mame/nichibutsu/gomoku_a.cpp')
-rw-r--r-- | src/mame/nichibutsu/gomoku_a.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/nichibutsu/gomoku_a.cpp b/src/mame/nichibutsu/gomoku_a.cpp index 633799d39d0..30e08c94711 100644 --- a/src/mame/nichibutsu/gomoku_a.cpp +++ b/src/mame/nichibutsu/gomoku_a.cpp @@ -49,7 +49,7 @@ void gomoku_sound_device::device_start() m_stream = stream_alloc(0, 1, clock()); // allocate a buffer to mix into - 1 second's worth should be more than enough - m_mixer_buffer.resize(clock()/50); + m_mixer_buffer.resize(clock()); // start with sound enabled, many games don't have a sound enable register m_sound_enable = 1; @@ -213,9 +213,9 @@ void gomoku_sound_device::sound2_w(offs_t offset, uint8_t data) // oneshot frequency is hand tune... if ((m_soundregs2[0x1d] & 0x0f) < 0x0c) - voice->frequency = 3000 / 16; // ichi, ni, san, yon, go + voice->frequency = (18'432'000 / 96000); // ichi, ni, san, yon, go else - voice->frequency = 8000 / 16; // shoot + voice->frequency = (18'432'000 / 48000); // shoot voice->volume = 8; voice->counter = 0; |