trunk/src/emu/devcpu.h
| r31145 | r31146 | |
| 176 | 176 | // MACROS |
| 177 | 177 | //************************************************************************** |
| 178 | 178 | |
| 179 | | // macro for declaring the configuration and device classes of a legacy CPU device |
| 180 | | #define DECLARE_LEGACY_CPU_DEVICE(name, basename) \ |
| 181 | | \ |
| 182 | | CPU_GET_INFO( basename ); \ |
| 183 | | \ |
| 184 | | class basename##_device : public legacy_cpu_device \ |
| 185 | | { \ |
| 186 | | public: \ |
| 187 | | basename##_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock); \ |
| 188 | | }; \ |
| 189 | | \ |
| 190 | | extern const device_type name; |
| 191 | | |
| 192 | 179 | // macro for defining the implementation needed for configuration and device classes |
| 193 | 180 | #define DEFINE_LEGACY_CPU_DEVICE(name, basename) \ |
| 194 | 181 | \ |