Fix compile error.
This commit is contained in:
parent
ebfb42cf01
commit
6b53bf3135
@ -124,7 +124,7 @@ INLINE mos6560_state *get_safe_token( running_device *device )
|
|||||||
{
|
{
|
||||||
assert(device != NULL);
|
assert(device != NULL);
|
||||||
assert(device->token != NULL);
|
assert(device->token != NULL);
|
||||||
assert(device->type == MOS6560);
|
assert(device->type == MOS656X);
|
||||||
|
|
||||||
return (mos6560_state *)device->token;
|
return (mos6560_state *)device->token;
|
||||||
}
|
}
|
||||||
@ -132,7 +132,7 @@ INLINE mos6560_state *get_safe_token( running_device *device )
|
|||||||
INLINE const mos6560_interface *get_interface( running_device *device )
|
INLINE const mos6560_interface *get_interface( running_device *device )
|
||||||
{
|
{
|
||||||
assert(device != NULL);
|
assert(device != NULL);
|
||||||
assert((device->type == MOS6560));
|
assert((device->type == MOS656X));
|
||||||
return (const mos6560_interface *) device->baseconfig().static_config;
|
return (const mos6560_interface *) device->baseconfig().static_config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user