From 25c99d94506b2ce1e0218332aeefcfb7da02f09a Mon Sep 17 00:00:00 2001 From: cam900 Date: Tue, 15 Feb 2022 22:31:17 +0900 Subject: snes.cpp: partial revert DMA cycle function (#9300) --- src/mame/machine/snes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/machine/snes.cpp b/src/mame/machine/snes.cpp index c5aa0ad203c..d8bdd2bf16c 100644 --- a/src/mame/machine/snes.cpp +++ b/src/mame/machine/snes.cpp @@ -1222,7 +1222,7 @@ inline int snes_state::dma_abus_valid( uint32_t address ) inline uint8_t snes_state::abus_read( address_space &space, uint32_t abus ) { - m_maincpu->adjust_icount(-8); // 8 master cycle per memory access + // m_maincpu->adjust_icount(-8); // 8 master cycle per memory access if (!dma_abus_valid(abus)) return 0; @@ -1233,7 +1233,7 @@ inline void snes_state::dma_transfer( address_space &space, uint8_t dma, uint32_ { if (m_dma_channel[dma].dmap & 0x80) /* PPU->CPU */ { - m_maincpu->adjust_icount(-8); // 8 master cycle per memory access + // m_maincpu->adjust_icount(-8); // 8 master cycle per memory access if (bbus == 0x2180 && ((abus & 0xfe0000) == 0x7e0000 || (abus & 0x40e000) == 0x0000)) { //illegal WRAM->WRAM transfer (bus conflict) -- cgit v1.2.3