diff options
Diffstat (limited to 'src/emu/cpu/h83002/h8priv.h')
-rw-r--r-- | src/emu/cpu/h83002/h8priv.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/emu/cpu/h83002/h8priv.h b/src/emu/cpu/h83002/h8priv.h index e7fd0ab5d0d..8208c653aa6 100644 --- a/src/emu/cpu/h83002/h8priv.h +++ b/src/emu/cpu/h83002/h8priv.h @@ -50,11 +50,10 @@ extern h83xx_state h8; INLINE h83xx_state *get_safe_token(running_device *device) { assert(device != NULL); - assert(device->type() == CPU); - assert(cpu_get_type(device) == CPU_H83002 || - cpu_get_type(device) == CPU_H83007 || - cpu_get_type(device) == CPU_H83044 || - cpu_get_type(device) == CPU_H83334); + assert(device->type() == H83002 || + device->type() == H83007 || + device->type() == H83044 || + device->type() == H83334); return (h83xx_state *)downcast<legacy_cpu_device *>(device)->token(); } |