Previous 15994 Revisions Next

r4085 Wednesday 7th January, 2009 at 12:32:41 UTC by Nathan Woods
Minor cleanups
[src/mess/machine]8530scc.c 8530scc.h

src/mess/machine/8530scc.c
r4084r4085
4747}
4848
4949
50INLINE scc8530_interface *get_interface(const device_config *device)
50INLINE const scc8530_interface *get_interface(const device_config *device)
5151{
5252   assert(device->type == SCC8530);
53   return (scc8530_interface *) device->inline_config;
53   return (const scc8530_interface *) device->inline_config;
5454}
5555
5656
r4084r4085
8989
9090static void scc_acknowledge(const device_config *device)
9191{
92   scc8530_interface *intf = get_interface(device);
92   const scc8530_interface *intf = get_interface(device);
9393   if ((intf != NULL) && (intf->acknowledge != NULL))
9494      (*intf->acknowledge)(device);
9595}
src/mess/machine/8530scc.h
r4084r4085
66
77*********************************************************************/
88
9#ifndef __8630SCC_H__
10#define __8630SCC_H__
9#ifndef __8530SCC_H__
10#define __8530SCC_H__
1111
1212
1313/***************************************************************************
r4084r4085
5858READ8_DEVICE_HANDLER(scc_r);
5959WRITE8_DEVICE_HANDLER(scc_w);
6060
61#endif /* __8630SCC_H__ */
61#endif /* __8530SCC_H__ */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team