Previous 199869 Revisions Next

r20949 Monday 11th February, 2013 at 19:07:50 UTC by Oliver Stöneberg
fixed src/emu/cpu/sh2/sh2.c compilation without USE_SH2DRC (nw)
[src/emu/cpu/sh2]sh2.c

trunk/src/emu/cpu/sh2/sh2.c
r20948r20949
124124INLINE sh2_state *get_safe_token(device_t *device)
125125{
126126   assert(device != NULL);
127   assert(device->token != NULL);
128   assert(device->type() == CPU);
129   assert(cpu_get_type(device) == CPU_SH1 ||
130         cpu_get_type(device) == CPU_SH2);
127   assert(device->type() == SH1 ||
128         device->type() == SH2);
131129   return (sh2_state *)downcast<legacy_cpu_device *>(device)->token();
132130}
133131

Previous 199869 Revisions Next


© 1997-2024 The MAME Team