diff options
Diffstat (limited to 'src/mame/machine/mathbox.c')
-rw-r--r-- | src/mame/machine/mathbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/mathbox.c b/src/mame/machine/mathbox.c index d39edf2f93e..2eb16acd179 100644 --- a/src/mame/machine/mathbox.c +++ b/src/mame/machine/mathbox.c @@ -32,7 +32,7 @@ typedef struct _mathbox_state mathbox_state; struct _mathbox_state { - const device_config *device; + running_device *device; /* math box scratch registers */ INT16 reg[16]; @@ -51,7 +51,7 @@ struct _mathbox_state into a mathbox_state -------------------------------------------------*/ -INLINE mathbox_state *get_safe_token(const device_config *device) +INLINE mathbox_state *get_safe_token(running_device *device) { assert(device != NULL); assert(device->token != NULL); |