diff options
author | 2019-09-08 18:43:50 +0200 | |
---|---|---|
committer | 2019-09-08 18:43:50 +0200 | |
commit | a2365ce2d09377ea23ed9b4f3e4e3d8cb7cc6c75 (patch) | |
tree | 676f7e409db9276ddfd6f6a6cb17342dc02f3ddf | |
parent | 047cfe2b3a518cefd2e9e1a2dc354220af3046cd (diff) |
snes.cpp: Do not update HDMA if enabled channels are the same (#5602) [AmatCoder]
Fixing Pilotwings (MT 06205)
-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; |