summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/bcreader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/bcreader.c')
-rw-r--r--src/emu/machine/bcreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/bcreader.c b/src/emu/machine/bcreader.c
index e9589c05a00..954adfd5448 100644
--- a/src/emu/machine/bcreader.c
+++ b/src/emu/machine/bcreader.c
@@ -269,7 +269,7 @@ UINT8 barcode_reader_device::read_code()
{
if (m_byte_count < m_byte_length)
{
- UINT8 val = m_pixel_data[m_byte_count];
+ UINT8 val = m_byte_data[m_byte_count];
m_byte_count++;
return val;
}