summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2019-05-01 21:26:01 +0200
committer hap <happppp@users.noreply.github.com>2019-05-01 21:26:01 +0200
commit8cb57cc439381167d330b7d8697e5ed755a34b3c (patch)
treed7f2ff981d6c2c72c38ad01cc1a5fa8b9144daad
parent70f022334fbbd7b77a33de03f0abee8f354709a4 (diff)
8080bw: use set_constant instead (nw)
-rw-r--r--src/mame/drivers/8080bw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/8080bw.cpp b/src/mame/drivers/8080bw.cpp
index 09c2a0344fa..3e6762e2939 100644
--- a/src/mame/drivers/8080bw.cpp
+++ b/src/mame/drivers/8080bw.cpp
@@ -960,7 +960,7 @@ void _8080bw_state::invrvnge(machine_config &config)
// CPU E-pin connects to AY clock pin
ay8910_device &psg(AY8910(config, "psg", XTAL(4'000'000)/2));
psg.port_a_read_callback().set([this] () { return m_sound_data >> 1; });
- psg.port_b_read_callback().set([] () { return 0xff; });
+ psg.port_b_read_callback().set_constant(0xff);
psg.add_route(ALL_OUTPUTS, "mono", 0.75);
// CPU E-pin also connects to a 4040 divider. The Q8 output goes to the CPU's NMI pin.