mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
Fixed some type errors
This commit is contained in:
parent
fe94a528fe
commit
3c5965366b
@ -96,7 +96,7 @@ const device_type Z80SCC_CHANNEL = &device_creator<z80scc_channel>;
|
||||
const device_type SCC8030 = &device_creator<scc8030_device>;
|
||||
const device_type SCC80C30 = &device_creator<scc80C30_device>;
|
||||
const device_type SCC80230 = &device_creator<scc80230_device>;
|
||||
const device_type SCC8530 = &device_creator<scc8530_device>;
|
||||
const device_type SCC8530N = &device_creator<scc8530_device>; // remove trailing N when 8530scc.c is fully replaced and removed
|
||||
const device_type SCC85C30 = &device_creator<scc85C30_device>;
|
||||
const device_type SCC85230 = &device_creator<scc85230_device>;
|
||||
const device_type SCC85233 = &device_creator<scc85233_device>;
|
||||
@ -184,16 +184,16 @@ z80scc_device::z80scc_device(const machine_config &mconfig, const char *tag, dev
|
||||
}
|
||||
|
||||
scc8030_device::scc8030_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: z80scc_device(mconfig, SCC8530, "SCC 8030", tag, owner, clock, TYPE_SCC8030, "scc8030", __FILE__){ }
|
||||
: z80scc_device(mconfig, SCC8030, "SCC 8030", tag, owner, clock, TYPE_SCC8030, "scc8030", __FILE__){ }
|
||||
|
||||
scc80C30_device::scc80C30_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: z80scc_device(mconfig, SCC85C30, "SCC 80C30", tag, owner, clock, TYPE_SCC80C30, "scc80C30", __FILE__){ }
|
||||
: z80scc_device(mconfig, SCC80C30, "SCC 80C30", tag, owner, clock, TYPE_SCC80C30, "scc80C30", __FILE__){ }
|
||||
|
||||
scc80230_device::scc80230_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: z80scc_device(mconfig, SCC85230, "SCC 80230", tag, owner, clock, TYPE_SCC80230, "scc80230", __FILE__){ }
|
||||
: z80scc_device(mconfig, SCC80230, "SCC 80230", tag, owner, clock, TYPE_SCC80230, "scc80230", __FILE__){ }
|
||||
|
||||
scc8530_device::scc8530_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: z80scc_device(mconfig, SCC8530, "SCC 8530", tag, owner, clock, TYPE_SCC8530, "scc8530", __FILE__){ }
|
||||
: z80scc_device(mconfig, SCC8530N, "SCC 8530", tag, owner, clock, TYPE_SCC8530, "scc8530", __FILE__){ }
|
||||
|
||||
scc85C30_device::scc85C30_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: z80scc_device(mconfig, SCC85C30, "SCC 85C30", tag, owner, clock, TYPE_SCC85C30, "scc85C30", __FILE__){ }
|
||||
|
@ -46,7 +46,7 @@
|
||||
MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
|
||||
|
||||
#define MCFG_SCC8530_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
|
||||
MCFG_DEVICE_ADD(_tag, SCC8530, _clock) \
|
||||
MCFG_DEVICE_ADD(_tag, SCC8530N, _clock) \
|
||||
MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
|
||||
|
||||
#define MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb) \
|
||||
@ -729,7 +729,7 @@ extern const device_type Z80SCC_CHANNEL;
|
||||
extern const device_type SCC8030;
|
||||
extern const device_type SCC80C30;
|
||||
extern const device_type SCC80230;
|
||||
extern const device_type SCC8530;
|
||||
extern const device_type SCC8530N; // remove trailing N when 8530scc.c is fully replaced and removed
|
||||
extern const device_type SCC85C30;
|
||||
extern const device_type SCC85230;
|
||||
extern const device_type SCC85233;
|
||||
|
Loading…
Reference in New Issue
Block a user