From c6365e46057d89ca443279e30a296fa2ff5886ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 21 Oct 2018 03:47:49 +0200 Subject: pokey: remember m_allpot_r_cb() value --- src/devices/sound/pokey.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/sound/pokey.cpp b/src/devices/sound/pokey.cpp index f9eb377a136..7880de562d7 100644 --- a/src/devices/sound/pokey.cpp +++ b/src/devices/sound/pokey.cpp @@ -818,7 +818,7 @@ READ8_MEMBER( pokey_device::read ) } else if( !m_allpot_r_cb.isnull() ) { - data = m_allpot_r_cb(offset); + m_ALLPOT = data = m_allpot_r_cb(offset); LOG(("%s: POKEY '%s' ALLPOT callback $%02x\n", machine().describe_context(), tag(), data)); } else -- cgit v1.2.3