| 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 |
| r243127 | r243128 | |
|---|---|---|
| 269 | 269 | { |
| 270 | 270 | if (m_byte_count < m_byte_length) |
| 271 | 271 | { |
| 272 | UINT8 val = m_ | |
| 272 | UINT8 val = m_byte_data[m_byte_count]; | |
| 273 | 273 | m_byte_count++; |
| 274 | 274 | return val; |
| 275 | 275 | } |
| r243127 | r243128 | |
|---|---|---|
| 25 | 25 | barcode_reader_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 26 | 26 | |
| 27 | 27 | 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; } | |
| 28 | 30 | UINT8 read_code(); |
| 29 | 31 | int read_pixel(); |
| 30 | 32 |
| https://github.com/mamedev/mame/commit/dfca1c7b4c391548a6300f73f08c6ff191fd625d |
| Previous | 199869 Revisions | Next |