src/mess/machine/8530scc.c
| r4084 | r4085 | |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | |
| 50 | | INLINE scc8530_interface *get_interface(const device_config *device) |
| 50 | INLINE const scc8530_interface *get_interface(const device_config *device) |
| 51 | 51 | { |
| 52 | 52 | assert(device->type == SCC8530); |
| 53 | | return (scc8530_interface *) device->inline_config; |
| 53 | return (const scc8530_interface *) device->inline_config; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | |
| r4084 | r4085 | |
| 89 | 89 | |
| 90 | 90 | static void scc_acknowledge(const device_config *device) |
| 91 | 91 | { |
| 92 | | scc8530_interface *intf = get_interface(device); |
| 92 | const scc8530_interface *intf = get_interface(device); |
| 93 | 93 | if ((intf != NULL) && (intf->acknowledge != NULL)) |
| 94 | 94 | (*intf->acknowledge)(device); |
| 95 | 95 | } |