From 7cfe77fffc15255e1693a46c6b81da0dad6a1a5b Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Mon, 11 Mar 2013 06:51:15 +0000 Subject: [PATCH] minor cleanup. nw. --- src/mame/machine/snes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/machine/snes.c b/src/mame/machine/snes.c index c7421d70029..b29c40cba20 100644 --- a/src/mame/machine/snes.c +++ b/src/mame/machine/snes.c @@ -389,8 +389,9 @@ READ8_MEMBER( snes_state::snes_r_io ) return snes_io_dma_r(space, offset); } - /* offset is from 0x000000 */ - switch (offset) + + // other accesses (notice that WRMPYA, WRMPYB, WRDIVL, WRDIVH, WRDVDD, MEMSEL, RDDIVL, RDDIVH, RDMPYL, RDMPYH are handled by the CPU directly) + switch (offset) // offset is from 0x000000 { case WMDATA: /* Data to read from WRAM */ value = space.read_byte(0x7e0000 + m_wram_address++); @@ -593,7 +594,6 @@ WRITE8_MEMBER( snes_state::snes_w_io ) return; } - snes_ram[offset] = data; } WRITE_LINE_MEMBER(snes_state::snes_extern_irq_w)