summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video
diff options
context:
space:
mode:
author Wilbert Pol <wilbertpol@users.noreply.github.com>2015-08-01 13:50:47 +0200
committer Wilbert Pol <wilbertpol@users.noreply.github.com>2015-08-02 21:25:52 +0200
commitb0ab01e8bc6370bcc93772fe05b4c82c25ce46c2 (patch)
treee99ea53463f320d45c272724d6007a3861cee61f /src/mess/video
parent1a8d3bba5417e226301a20e49ec4fab8f2338326 (diff)
vc4000.c: Reduce tagmap lookups (nw)
Diffstat (limited to 'src/mess/video')
-rw-r--r--src/mess/video/vc4000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/video/vc4000.c b/src/mess/video/vc4000.c
index 315ac46934f..d8ba1ca6f30 100644
--- a/src/mess/video/vc4000.c
+++ b/src/mess/video/vc4000.c
@@ -321,7 +321,7 @@ WRITE8_MEMBER( vc4000_state::vc4000_video_w )
case 0xc7: // Soundregister
m_video.reg.data[offset] = data;
- machine().device<vc4000_sound_device>("custom")->soundport_w(0, data);
+ m_custom->soundport_w(0, data);
break;
case 0xc8: // Digits 1 and 2