trunk/src/emu/sound/samples.c
| r23831 | r23832 | |
| 80 | 80 | { |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | | samples_device::samples_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) |
| 84 | | : device_t(mconfig, type, name, tag, owner, clock), |
| 83 | samples_device::samples_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) |
| 84 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), |
| 85 | 85 | device_sound_interface(mconfig, *this) |
| 86 | 86 | { |
| 87 | 87 | } |
trunk/src/emu/sound/samples.h
| r23831 | r23832 | |
| 118 | 118 | |
| 119 | 119 | protected: |
| 120 | 120 | // subclasses can do it this way |
| 121 | | samples_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); |
| 121 | samples_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); |
| 122 | 122 | |
| 123 | 123 | // device-level overrides |
| 124 | 124 | virtual void device_start(); |