Previous 199869 Revisions Next

r21795 Monday 11th March, 2013 at 06:51:15 UTC by Fabio Priuli
minor cleanup. nw.
[src/mame/machine]snes.c

trunk/src/mame/machine/snes.c
r21794r21795
389389      return snes_io_dma_r(space, offset);
390390   }
391391
392   /* offset is from 0x000000 */
393   switch (offset)
392
393   // other accesses (notice that WRMPYA, WRMPYB, WRDIVL, WRDIVH, WRDVDD, MEMSEL, RDDIVL, RDDIVH, RDMPYL, RDMPYH are handled by the CPU directly)
394   switch (offset)   // offset is from 0x000000
394395   {
395396      case WMDATA:    /* Data to read from WRAM */
396397         value = space.read_byte(0x7e0000 + m_wram_address++);
r21794r21795
593594         return;
594595   }
595596
596   snes_ram[offset] = data;
597597}
598598
599599WRITE_LINE_MEMBER(snes_state::snes_extern_irq_w)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team