mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Fix assert in H8 core (no whatsnew)
This commit is contained in:
parent
7323cb5719
commit
856020f96a
@ -53,7 +53,10 @@ INLINE h83xx_state *get_safe_token(device_t *device)
|
||||
assert(device->type() == H83002 ||
|
||||
device->type() == H83007 ||
|
||||
device->type() == H83044 ||
|
||||
device->type() == H83334);
|
||||
device->type() == H83334 ||
|
||||
device->type() == H8S2241 ||
|
||||
device->type() == H8S2246 ||
|
||||
device->type() == H8S2323);
|
||||
return (h83xx_state *)downcast<legacy_cpu_device *>(device)->token();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user