Skip to content

Commit 9a6abab

Browse files
committed
cpu/upd177x/upd177x.cpp: Remove callback on PA.
1 parent edead3f commit 9a6abab

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/devices/cpu/upd177x/upd177x.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ upd177x_cpu_device::upd177x_cpu_device(const machine_config &mconfig, device_typ
6464
: cpu_device(mconfig, type, tag, owner, clock)
6565
, device_sound_interface(mconfig, *this)
6666
, m_program_config("program", ENDIANNESS_BIG, 16, 16, -1, address_map_constructor(FUNC(upd177x_cpu_device::program_map), this))
67-
, m_pa_out_cb(*this)
6867
, m_pb_out_cb(*this)
6968
{ }
7069

@@ -187,7 +186,6 @@ void upd177x_cpu_device::op0xxx(u16 opcode)
187186
break;
188187
case 0x0002: // OUT PA
189188
m_pa = m_a;
190-
m_pa_out_cb(m_pa);
191189
break;
192190
case 0x0004: // OUT PB
193191
m_pb = m_a;

src/devices/cpu/upd177x/upd177x.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class upd177x_cpu_device : public cpu_device
3636
upd177x_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
3737

3838
// configuration helpers
39-
auto pa_out_cb() { return m_pa_out_cb.bind(); }
4039
auto pb_out_cb() { return m_pb_out_cb.bind(); }
4140

4241
void pa_w(u8 data) { m_pa = data; }
@@ -83,7 +82,6 @@ class upd177x_cpu_device : public cpu_device
8382
address_space_config m_program_config;
8483

8584
memory_access<16, 1, -1, ENDIANNESS_BIG>::specific m_program;
86-
devcb_write8 m_pa_out_cb;
8785
devcb_write8 m_pb_out_cb;
8886
sound_stream *m_channel;
8987

0 commit comments

Comments
 (0)