summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/v60/v60.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/v60/v60.c')
-rw-r--r--src/emu/cpu/v60/v60.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/emu/cpu/v60/v60.c b/src/emu/cpu/v60/v60.c
index c77bc6f1457..c96e6747777 100644
--- a/src/emu/cpu/v60/v60.c
+++ b/src/emu/cpu/v60/v60.c
@@ -114,9 +114,8 @@ struct _v60_state
INLINE v60_state *get_safe_token(running_device *device)
{
assert(device != NULL);
- assert(device->type() == CPU);
- assert(cpu_get_type(device) == CPU_V60 ||
- cpu_get_type(device) == CPU_V70);
+ assert(device->type() == V60 ||
+ device->type() == V70);
return (v60_state *)downcast<legacy_cpu_device *>(device)->token();
}
@@ -744,3 +743,6 @@ CPU_GET_INFO( v70 )
default: CPU_GET_INFO_CALL(v60); break;
}
}
+
+DEFINE_LEGACY_CPU_DEVICE(V60, v60);
+DEFINE_LEGACY_CPU_DEVICE(V70, v70);