Previous 199869 Revisions Next

r21375 Saturday 23rd February, 2013 at 09:56:57 UTC by Oliver Stöneberg
(MESS) victor9k_keyboard_device never used static_cofig (nw)
[src/mess/machine]victor9kb.c victor9kb.h

trunk/src/mess/machine/victor9kb.c
r21374r21375
258258{
259259}
260260
261//-------------------------------------------------
262//  device_config_complete - perform any
263//  operations now that the configuration is
264//  complete
265//-------------------------------------------------
261266
267void victor9k_keyboard_device::device_config_complete()
268{
269   m_shortname = "victor9kb";
270
271   // inherit a copy of the static data
272   const victor9k_keyboard_interface *intf = reinterpret_cast<const victor9k_keyboard_interface *>(static_config());
273   if (intf != NULL)
274      *static_cast<victor9k_keyboard_interface *>(this) = *intf;
275
276   // or initialize to defaults if none provided
277   else
278   {
279      memset(&m_out_kbrdy_cb, 0, sizeof(m_out_kbrdy_cb));
280   }
281}
282
262283//-------------------------------------------------
263284//  device_start - device-specific startup
264285//-------------------------------------------------
trunk/src/mess/machine/victor9kb.h
r21374r21375
8080   // device-level overrides
8181   virtual void device_start();
8282   virtual void device_reset();
83   virtual void device_config_complete() { m_shortname = "victor9kb"; }
83   virtual void device_config_complete();
8484
8585private:
8686   devcb_resolved_write_line   m_out_kbrdy_func;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team