Previous 199869 Revisions Next

r34616 Monday 26th January, 2015 at 09:24:10 UTC by Fabio Priuli
minor fix + additions to the barcode reader emulation. nw.
[src/emu/machine]bcreader.c bcreader.h

trunk/src/emu/machine/bcreader.c
r243127r243128
269269   {
270270      if (m_byte_count < m_byte_length)
271271      {
272         UINT8 val = m_pixel_data[m_byte_count];
272         UINT8 val = m_byte_data[m_byte_count];
273273         m_byte_count++;
274274         return val;
275275      }
trunk/src/emu/machine/bcreader.h
r243127r243128
2525   barcode_reader_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2626
2727   void write_code(const char *barcode, int len);
28   int get_pending_code() { return m_new_code; }
29   int get_byte_length() { return m_byte_length; }
2830   UINT8 read_code();
2931   int read_pixel();
3032


Previous 199869 Revisions Next


© 1997-2024 The MAME Team