summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/plus4_sid.c
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2012-09-10 14:18:45 +0000
committer Curt Coder <curtcoder@mail.com>2012-09-10 14:18:45 +0000
commitbe3af47f06821ce44fa7ebd16c026ede804d82bf (patch)
treeb23d5c56e44b0d689a6bd5431e26bfa3cd39d04d /src/mess/machine/plus4_sid.c
parent7de113e8959929b99676f27f6a9762461c01ef7d (diff)
(MESS) c128: MMU WIP. (nw)
(MESS) mos6581: Improved interface. (nw) mos6526: Improved interface. (nw)
Diffstat (limited to 'src/mess/machine/plus4_sid.c')
-rw-r--r--src/mess/machine/plus4_sid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/plus4_sid.c b/src/mess/machine/plus4_sid.c
index 2e943312559..40dc736f7c2 100644
--- a/src/mess/machine/plus4_sid.c
+++ b/src/mess/machine/plus4_sid.c
@@ -141,7 +141,7 @@ UINT8 plus4_sid_cartridge_device::plus4_cd_r(address_space &space, offs_t offset
{
if ((offset >= 0xfe80 && offset < 0xfea0) || (offset >= 0xfd40 && offset < 0xfd60))
{
- data = sid6581_r(m_sid, offset & 0x1f);
+ data = m_sid->read(space, offset & 0x1f);
}
else if (offset >= 0xfd80 && offset < 0xfd90)
{
@@ -160,7 +160,7 @@ void plus4_sid_cartridge_device::plus4_cd_w(address_space &space, offs_t offset,
{
if ((offset >= 0xfe80 && offset < 0xfea0) || (offset >= 0xfd40 && offset < 0xfd60))
{
- sid6581_w(m_sid, offset & 0x1f, data);
+ m_sid->write(space, offset & 0x1f, data);
}
}