mirror of
https://github.com/holub/mame
synced 2025-06-05 04:16:28 +03:00
don't assert on valid i8080a
This commit is contained in:
parent
f5dceea8a6
commit
9ab6b4763e
@ -277,6 +277,7 @@ INLINE i8085_state *get_safe_token(device_t *device)
|
|||||||
{
|
{
|
||||||
assert(device != NULL);
|
assert(device != NULL);
|
||||||
assert(device->type() == I8080 ||
|
assert(device->type() == I8080 ||
|
||||||
|
device->type() == I8080A||
|
||||||
device->type() == I8085A);
|
device->type() == I8085A);
|
||||||
return (i8085_state *)downcast<legacy_cpu_device *>(device)->token();
|
return (i8085_state *)downcast<legacy_cpu_device *>(device)->token();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user