summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/buffer.cpp
blob: 6b2058c6937c30ab0155d738e4b995389257cc37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// license:BSD-3-Clause
// copyright-holders:smf
#include "emu.h"
#include "buffer.h"

const device_type INPUT_BUFFER = &device_creator<input_buffer_device>;

input_buffer_device::input_buffer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
	: device_t(mconfig, INPUT_BUFFER, "Input Buffer", tag, owner, clock, "input_buffer", __FILE__),
	m_input_data(0xff)
{
}

void input_buffer_device::device_start()
{
	save_item(NAME(m_input_data));
}