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