mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
cmi2x: comment cause of excessive printf output
This commit is contained in:
parent
6f3ecb013f
commit
2e5406e4c0
@ -146,10 +146,10 @@ void cmi01a_device::sound_stream_update(sound_stream &stream, std::vector<read_s
|
||||
{
|
||||
const uint8_t sample8 = wave_ptr[addr++ & 0x3fff];
|
||||
s32 sample = (int32_t)(int8_t)(sample8 ^ 0x80) * m_env * m_vol_latch;
|
||||
if (m_channel == 5) printf("%08x:%02x:%02x:%02x", (uint32_t)sample, sample8, m_env, m_vol_latch);
|
||||
// if (m_channel == 5) printf("%08x:%02x:%02x:%02x", (uint32_t)sample, sample8, m_env, m_vol_latch);
|
||||
buf.put_int(sampindex, (int16_t)(sample >> 8), 32768);
|
||||
}
|
||||
if (m_channel == 5) printf("\n");
|
||||
// if (m_channel == 5) printf("\n");
|
||||
|
||||
m_segment_cnt = (m_segment_cnt & ~mask) | addr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user