i8257: Minor logging improvement

This commit is contained in:
AJR 2023-04-16 13:13:04 -04:00
parent 65306b5624
commit 2518ba9a42

View File

@ -541,7 +541,7 @@ void i8257_device::write(offs_t offset, uint8_t data)
switch (offset & 0x01)
{
case REGISTER_ADDRESS:
LOGSETUP(" * Register Address <- %02x\n", data);
LOGSETUP(" * Channel %d Register Address <- %02x\n", channel, data);
if (m_msb)
{
m_channel[channel].m_address = (data << 8) | (m_channel[channel].m_address & 0xff);
@ -557,7 +557,7 @@ void i8257_device::write(offs_t offset, uint8_t data)
break;
case REGISTER_WORD_COUNT:
LOGSETUP(" * Register Word Count <- %02x\n", data);
LOGSETUP(" * Channel %d Register Word Count <- %02x\n", channel, data);
if (m_msb)
{
m_channel[channel].m_count = ((data & 0x3f) << 8) | (m_channel[channel].m_count & 0xff);