From 3b923d59ccb8d2d8e386392518450006f8e644fe Mon Sep 17 00:00:00 2001 From: wilbertpol Date: Sat, 3 Mar 2018 18:18:08 +0100 Subject: destaticify initializations (nw) (#3289) * destaticify initializations (nw) * fix this->set_screen (nw) --- src/devices/machine/ticket.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'src/devices/machine/ticket.cpp') diff --git a/src/devices/machine/ticket.cpp b/src/devices/machine/ticket.cpp index 2180d4fd17e..4df285d7650 100644 --- a/src/devices/machine/ticket.cpp +++ b/src/devices/machine/ticket.cpp @@ -63,36 +63,6 @@ ticket_dispenser_device::~ticket_dispenser_device() } -//************************************************************************** -// CONFIGURATION HELPERS -//************************************************************************** - -//------------------------------------------------- -// static_set_period - configure the clock period -// for dispensing -//------------------------------------------------- - -void ticket_dispenser_device::static_set_period(device_t &device, const attotime &period) -{ - downcast(device).m_period = period; -} - - -//------------------------------------------------- -// static_set_senses - configure the senses of -// the motor and status bits -//------------------------------------------------- - -void ticket_dispenser_device::static_set_senses(device_t &device, uint8_t motor_sense, uint8_t status_sense, bool hopper_type) -{ - ticket_dispenser_device &ticket = downcast(device); - ticket.m_motor_sense = motor_sense; - ticket.m_status_sense = status_sense; - ticket.m_hopper_type = hopper_type; -} - - - //************************************************************************** // READ/WRITE HANDLERS //************************************************************************** -- cgit v1.2.3-70-g09d2