mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
changed destructors to prevent crash on exit (nw)
This commit is contained in:
parent
f7c49a5019
commit
b3ba4a4649
@ -85,6 +85,7 @@ public:
|
||||
// construction/destruction
|
||||
nubus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
nubus_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);
|
||||
~nubus_device() { m_device_list.detach_all(); }
|
||||
// inline configuration
|
||||
static void static_set_cputag(device_t &device, const char *tag);
|
||||
|
||||
|
@ -159,6 +159,7 @@ class s100_device : public device_t,
|
||||
public:
|
||||
// construction/destruction
|
||||
s100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
~s100_device() { m_device_list.detach_all(); }
|
||||
|
||||
void add_s100_card(device_s100_card_interface *card);
|
||||
|
||||
|
@ -108,6 +108,7 @@ class wangpcbus_device : public device_t,
|
||||
public:
|
||||
// construction/destruction
|
||||
wangpcbus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
~wangpcbus_device() { m_device_list.detach_all(); }
|
||||
|
||||
void add_wangpcbus_card(device_wangpcbus_card_interface *card, int sid);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user