Skip to content

Commit

Permalink
snes.cpp: partial revert DMA cycle function (#9300)
Browse files Browse the repository at this point in the history
  • Loading branch information
cam900 committed Feb 15, 2022
1 parent 77dcffc commit 25c99d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mame/machine/snes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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)
Expand Down

0 comments on commit 25c99d9

Please sign in to comment.