don't assert on valid i8080a

This commit is contained in:
Michaël Banaan Ananas 2011-03-21 09:04:54 +00:00
parent f5dceea8a6
commit 9ab6b4763e

View File

@ -277,6 +277,7 @@ INLINE i8085_state *get_safe_token(device_t *device)
{
assert(device != NULL);
assert(device->type() == I8080 ||
device->type() == I8080A||
device->type() == I8085A);
return (i8085_state *)downcast<legacy_cpu_device *>(device)->token();
}