summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/macpci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/macpci.cpp')
-rw-r--r--src/mame/machine/macpci.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/macpci.cpp b/src/mame/machine/macpci.cpp
index eaa735c24d2..dca8b76ebec 100644
--- a/src/mame/machine/macpci.cpp
+++ b/src/mame/machine/macpci.cpp
@@ -168,7 +168,7 @@ READ32_MEMBER(macpci_state::mac_read_id)
READ16_MEMBER ( macpci_state::mac_scc_r )
{
- scc8530_t *scc = space.machine().device<scc8530_t>("scc");
+ scc8530_t *scc = machine().device<scc8530_t>("scc");
uint16_t result;
result = scc->reg_r(space, offset);
@@ -177,13 +177,13 @@ READ16_MEMBER ( macpci_state::mac_scc_r )
WRITE16_MEMBER ( macpci_state::mac_scc_w )
{
- scc8530_t *scc = space.machine().device<scc8530_t>("scc");
+ scc8530_t *scc = machine().device<scc8530_t>("scc");
scc->reg_w(space, offset, data);
}
WRITE16_MEMBER ( macpci_state::mac_scc_2_w )
{
- scc8530_t *scc = space.machine().device<scc8530_t>("scc");
+ scc8530_t *scc = machine().device<scc8530_t>("scc");
scc->reg_w(space, offset, data >> 8);
}