diff options
author | smf- <smf-@users.noreply.github.com> | 2017-05-25 10:58:18 +0100 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2017-05-25 11:02:23 +0100 |
commit | 93397779014bf38e372f7bc449bb8c7ac3896a7e (patch) | |
tree | 4524f039106717a225b19d924036b2e8eb7d28b6 | |
parent | 23e1e845a8f8edb2d7af7586c11a69b94de8396b (diff) |
fix for MSVC (nw)
-rw-r--r-- | src/mame/audio/irem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/audio/irem.cpp b/src/mame/audio/irem.cpp index df53d80cdc6..f0ca370a494 100644 --- a/src/mame/audio/irem.cpp +++ b/src/mame/audio/irem.cpp @@ -244,7 +244,7 @@ WRITE8_MEMBER( irem_audio_device::m52_adpcm_w ) WRITE8_MEMBER( irem_audio_device::m62_adpcm_w ) { - msm5205_device *adpcm = (offset & 1) ? m_adpcm2 : m_adpcm1; + msm5205_device *adpcm = (offset & 1) ? m_adpcm2.target() : m_adpcm1.target(); if (adpcm != nullptr) adpcm->data_w(data); } |