From b57ab19a6acf1c33e7872c545bb0a20c704ea188 Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Fri, 12 Apr 2013 07:46:43 +0000 Subject: [PATCH] (MESS) snes: tagmap lookups reduction. kthx Firewave to spot this. nw. --- src/mess/drivers/snes.c | 4 ++-- 1 file 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