src/mess/audio/ted7360.c
| r7824 | r7825 | |
| 501 | 501 | { |
| 502 | 502 | assert(device != NULL); |
| 503 | 503 | assert(device->token != NULL); |
| 504 | | assert(device->type == TED7360); |
| 504 | assert(device->type == SOUND); |
| 505 | 505 | |
| 506 | 506 | return (ted7360_state *)device->token; |
| 507 | 507 | } |
| r7824 | r7825 | |
| 509 | 509 | INLINE const ted7360_interface *get_interface( running_device *device ) |
| 510 | 510 | { |
| 511 | 511 | assert(device != NULL); |
| 512 | | assert((device->type == TED7360)); |
| 512 | assert(device->type == SOUND); |
| 513 | 513 | return (const ted7360_interface *) device->baseconfig().static_config; |
| 514 | 514 | } |
| 515 | 515 | |