diff options
-rw-r--r-- | src/mame/machine/snes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/snes.cpp b/src/mame/machine/snes.cpp index f931e79d81e..0e232318516 100644 --- a/src/mame/machine/snes.cpp +++ b/src/mame/machine/snes.cpp @@ -560,7 +560,7 @@ WRITE8_MEMBER( snes_state::snes_w_io ) SNES_CPU_REG(MDMAEN) = 0; /* Once DMA is done we need to reset all bits to 0 */ return; case HDMAEN: /* HDMA channel designation */ - if (data) //if a HDMA is enabled, data is inited at the next scanline + if (data != SNES_CPU_REG(HDMAEN)) //if a HDMA is enabled, data is inited at the next scanline timer_set(m_screen->time_until_pos(m_ppu->current_vert() + 1), TIMER_RESET_HDMA); SNES_CPU_REG(HDMAEN) = data; return; |