summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2013-04-12 07:46:43 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2013-04-12 07:46:43 +0000
commitb57ab19a6acf1c33e7872c545bb0a20c704ea188 (patch)
tree3bebda9679b849fea88f750b2cecdfe8cba667bd /src
parent056c7d387ca68c28dced90bdc1a36701a51a8a1e (diff)
(MESS) snes: tagmap lookups reduction. kthx Firewave to spot this. nw.
Diffstat (limited to 'src')
-rw-r--r--src/mess/drivers/snes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/snes.c b/src/mess/drivers/snes.c
index 606e02c4b10..24765292bcc 100644
--- a/src/mess/drivers/snes.c
+++ b/src/mess/drivers/snes.c
@@ -110,12 +110,12 @@ public:
READ8_MEMBER(snes_console_state::spc_ram_100_r )
{
- return spc_ram_r(machine().device("spc700"), space, offset + 0x100);
+ return spc_ram_r(m_spc700, space, offset + 0x100);
}
WRITE8_MEMBER(snes_console_state::spc_ram_100_w )
{
- spc_ram_w(machine().device("spc700"), space, offset + 0x100, data);
+ spc_ram_w(m_spc700, space, offset + 0x100, data);
}
// Memory access for the various types of carts