summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2022-02-15 22:31:17 +0900
committer GitHub <noreply@github.com>2022-02-15 08:31:17 -0500
commit25c99d94506b2ce1e0218332aeefcfb7da02f09a (patch)
tree49ae775853e08335d301a11dcd73c79f4645351a
parent77dcffc16269fc1b1a2249631f16c7b05d0de294 (diff)
snes.cpp: partial revert DMA cycle function (#9300)
-rw-r--r--src/mame/machine/snes.cpp4
1 files 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)