trunk/src/mess/machine/victor9kb.c
| r21374 | r21375 | |
| 258 | 258 | { |
| 259 | 259 | } |
| 260 | 260 | |
| 261 | //------------------------------------------------- |
| 262 | // device_config_complete - perform any |
| 263 | // operations now that the configuration is |
| 264 | // complete |
| 265 | //------------------------------------------------- |
| 261 | 266 | |
| 267 | void 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 | |
| 262 | 283 | //------------------------------------------------- |
| 263 | 284 | // device_start - device-specific startup |
| 264 | 285 | //------------------------------------------------- |