diff options
Diffstat (limited to 'src/emu/cpu/t11/t11.c')
-rw-r--r-- | src/emu/cpu/t11/t11.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/cpu/t11/t11.c b/src/emu/cpu/t11/t11.c index 0fab8e1446e..7627a6350dc 100644 --- a/src/emu/cpu/t11/t11.c +++ b/src/emu/cpu/t11/t11.c @@ -41,8 +41,7 @@ struct _t11_state INLINE t11_state *get_safe_token(running_device *device) { assert(device != NULL); - assert(device->type() == CPU); - assert(cpu_get_type(device) == CPU_T11); + assert(device->type() == T11); return (t11_state *)downcast<legacy_cpu_device *>(device)->token(); } @@ -493,3 +492,5 @@ CPU_GET_INFO( t11 ) case CPUINFO_STR_REGISTER + T11_R5: sprintf(info->s, "R5:%04X", cpustate->reg[5].w.l); break; } } + +DEFINE_LEGACY_CPU_DEVICE(T11, t11); |