Fix assert in H8 core (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2011-07-30 06:01:37 +00:00
parent 7323cb5719
commit 856020f96a

View File

@ -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();
}