mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00
old scsi: minor stuff (nw)
This commit is contained in:
parent
796abaf7f3
commit
249b42112b
@ -98,12 +98,7 @@ class scsi_port_device : public device_t
|
||||
|
||||
public:
|
||||
// construction/destruction
|
||||
scsi_port_device(const machine_config &mconfig, const char *tag, device_t *owner)
|
||||
: scsi_port_device(mconfig, tag, owner, (uint32_t)0)
|
||||
{
|
||||
}
|
||||
|
||||
scsi_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
scsi_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
|
||||
|
||||
template <class Object> devcb_base &set_bsy_handler(Object &&cb) { return m_bsy_handler.set_callback(std::forward<Object>(cb)); }
|
||||
template <class Object> devcb_base &set_sel_handler(Object &&cb) { return m_sel_handler.set_callback(std::forward<Object>(cb)); }
|
||||
|
@ -13,7 +13,7 @@
|
||||
class legacy_scsi_host_adapter : public device_t
|
||||
{
|
||||
public:
|
||||
void set_scsi_port(const char *tag) { m_scsi_port.set_tag(tag); }
|
||||
template <typename T> void set_scsi_port(T && tag) { m_scsi_port.set_tag(std::forward<T>(tag)); }
|
||||
|
||||
protected:
|
||||
legacy_scsi_host_adapter(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
|
||||
|
Loading…
Reference in New Issue
Block a user