From 2518ba9a422acda5122914fa177865702ef86510 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 16 Apr 2023 13:13:04 -0400 Subject: [PATCH] i8257: Minor logging improvement --- src/devices/machine/i8257.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/machine/i8257.cpp b/src/devices/machine/i8257.cpp index c2fb87d203b..69fe9843eaf 100644 --- a/src/devices/machine/i8257.cpp +++ b/src/devices/machine/i8257.cpp @@ -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);