mirror of
https://github.com/holub/mame
synced 2025-06-07 05:13:46 +03:00
sync (nw)
This commit is contained in:
parent
0603aba914
commit
ad7b1b3400
@ -294,7 +294,7 @@ mccs1850_device::mccs1850_device(const machine_config &mconfig, const char *tag,
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void mccs1850_device::set_cb(cb_t _int_cb, cb_t _pse_cb, cb_t _nuc_cb)
|
void mccs1850_device::set_cb(line_cb_t _int_cb, line_cb_t _pse_cb, line_cb_t _nuc_cb)
|
||||||
{
|
{
|
||||||
int_cb = _int_cb;
|
int_cb = _int_cb;
|
||||||
pse_cb = _pse_cb;
|
pse_cb = _pse_cb;
|
||||||
|
@ -47,11 +47,9 @@ class mccs1850_device : public device_t,
|
|||||||
public device_nvram_interface
|
public device_nvram_interface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef delegate<void (bool state)> cb_t;
|
|
||||||
|
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
mccs1850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
mccs1850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||||
void set_cb(cb_t int_cb, cb_t pse_cb, cb_t nuc_cb);
|
void set_cb(line_cb_t int_cb, line_cb_t pse_cb, line_cb_t nuc_cb);
|
||||||
|
|
||||||
DECLARE_WRITE_LINE_MEMBER( ce_w );
|
DECLARE_WRITE_LINE_MEMBER( ce_w );
|
||||||
DECLARE_WRITE_LINE_MEMBER( sck_w );
|
DECLARE_WRITE_LINE_MEMBER( sck_w );
|
||||||
@ -85,7 +83,7 @@ private:
|
|||||||
|
|
||||||
static const device_timer_id TIMER_CLOCK = 0;
|
static const device_timer_id TIMER_CLOCK = 0;
|
||||||
|
|
||||||
cb_t int_cb, pse_cb, nuc_cb;
|
line_cb_t int_cb, pse_cb, nuc_cb;
|
||||||
|
|
||||||
UINT8 m_ram[0x80]; // RAM
|
UINT8 m_ram[0x80]; // RAM
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user