Give unique descriptions and short names to new SegaCrypt Z80 devices so that they show up properly in devices listings. (nw)

This commit is contained in:
Scott Stone 2016-04-12 07:59:33 -04:00
parent d790744b6c
commit 21a7aabf9e
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ const device_type SEGA_317_0007 = &device_creator<sega_317_0007_device>;
segacrp2_z80_device::segacrp2_z80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : z80_device(mconfig, SEGACRP2_Z80, "Z80", tag, owner, clock, "z80_sega2", __FILE__) {} segacrp2_z80_device::segacrp2_z80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : z80_device(mconfig, SEGACRP2_Z80, "Z80 SegaCrypt2", tag, owner, clock, "z80_sega2", __FILE__) {}
void segacrp2_z80_device::device_start() { z80_device::device_start(); decrypt(); } void segacrp2_z80_device::device_start() { z80_device::device_start(); decrypt(); }
void segacrp2_z80_device::device_reset() { z80_device::device_reset(); } void segacrp2_z80_device::device_reset() { z80_device::device_reset(); }
void segacrp2_z80_device::decrypt() { } void segacrp2_z80_device::decrypt() { }

View File

@ -289,7 +289,7 @@ const device_type SEGA_CPU_PBACTIO4 = &device_creator<sega_cpu_pbactio4_device>
segacrpt_z80_device::segacrpt_z80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segacrpt_z80_device::segacrpt_z80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
z80_device(mconfig, SEGACRPT_Z80, "Z80", tag, owner, clock, "z80_sega2", __FILE__), z80_device(mconfig, SEGACRPT_Z80, "Z80 SegaCrypt", tag, owner, clock, "z80_sega", __FILE__),
m_decrypted_ptr(nullptr), m_decrypted_ptr(nullptr),
m_region_ptr(nullptr), m_region_ptr(nullptr),
m_decode_size(0x8000), m_decode_size(0x8000),