diff options
Diffstat (limited to 'src/devices/sound/k053260.h')
-rw-r--r-- | src/devices/sound/k053260.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/devices/sound/k053260.h b/src/devices/sound/k053260.h index ace87855740..e80a2da87d7 100644 --- a/src/devices/sound/k053260.h +++ b/src/devices/sound/k053260.h @@ -22,7 +22,7 @@ MCFG_DEVICE_REPLACE(_tag, K053260, _clock) #define MCFG_K053260_REGION(_tag) \ - k053260_device::set_region_tag(*device, _tag); + k053260_device::set_region_tag(*device, "^" _tag); //************************************************************************** @@ -38,7 +38,7 @@ public: k053260_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k053260_device() { } - static void set_region_tag(device_t &device, const char *tag) { downcast<k053260_device &>(device).m_rgnoverride = tag; } + static void set_region_tag(device_t &device, const char *tag) { downcast<k053260_device &>(device).m_rom.set_tag(tag); } DECLARE_READ8_MEMBER( main_read ); DECLARE_WRITE8_MEMBER( main_write ); @@ -55,11 +55,8 @@ protected: private: // configuration - const char * m_rgnoverride; - sound_stream * m_stream; - UINT8 * m_rom; - UINT32 m_rom_size; + required_region_ptr<UINT8> m_rom; // live state UINT8 m_portdata[4]; |