trunk/src/mess/machine/tandy2kb.c
| r21366 | r21367 | |
| 252 | 252 | { |
| 253 | 253 | } |
| 254 | 254 | |
| 255 | //------------------------------------------------- |
| 256 | // device_config_complete - perform any |
| 257 | // operations now that the configuration is |
| 258 | // complete |
| 259 | //------------------------------------------------- |
| 255 | 260 | |
| 261 | void tandy2k_keyboard_device::device_config_complete() |
| 262 | { |
| 263 | m_shortname = "tandy2kb"; |
| 264 | |
| 265 | // inherit a copy of the static data |
| 266 | const tandy2k_keyboard_interface *intf = reinterpret_cast<const tandy2k_keyboard_interface *>(static_config()); |
| 267 | if (intf != NULL) |
| 268 | *static_cast<tandy2k_keyboard_interface *>(this) = *intf; |
| 269 | |
| 270 | // or initialize to defaults if none provided |
| 271 | else |
| 272 | { |
| 273 | memset(&m_out_clock_cb, 0, sizeof(m_out_clock_cb)); |
| 274 | memset(&m_out_data_cb, 0, sizeof(m_out_data_cb)); |
| 275 | } |
| 276 | } |
| 277 | |
| 256 | 278 | //------------------------------------------------- |
| 257 | 279 | // device_start - device-specific startup |
| 258 | 280 | //------------------------------------------------- |