mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
fixed usage of uninitialized members in barcode_reader_device (nw)
This commit is contained in:
parent
fae8ad5f54
commit
72f46e2881
@ -59,6 +59,11 @@ const device_type BARCODE_READER = &device_creator<barcode_reader_device>;
|
|||||||
|
|
||||||
barcode_reader_device::barcode_reader_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
barcode_reader_device::barcode_reader_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||||
: device_t(mconfig, BARCODE_READER, "Barcode Reader", tag, owner, clock, "bcreader", __FILE__)
|
: device_t(mconfig, BARCODE_READER, "Barcode Reader", tag, owner, clock, "bcreader", __FILE__)
|
||||||
|
, m_byte_length(0)
|
||||||
|
, m_pixel_length(0)
|
||||||
|
, m_byte_count(0)
|
||||||
|
, m_pixel_count(0)
|
||||||
|
, m_new_code(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user