Fix compile error.

This commit is contained in:
Wilbert Pol 2010-02-17 21:03:47 +00:00
parent ebfb42cf01
commit 6b53bf3135

View File

@ -124,7 +124,7 @@ INLINE mos6560_state *get_safe_token( running_device *device )
{
assert(device != NULL);
assert(device->token != NULL);
assert(device->type == MOS6560);
assert(device->type == MOS656X);
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 )
{
assert(device != NULL);
assert((device->type == MOS6560));
assert((device->type == MOS656X));
return (const mos6560_interface *) device->baseconfig().static_config;
}