diff --git a/dma.cpp b/dma.cpp index 652f0f10..6d32cbd3 100644 --- a/dma.cpp +++ b/dma.cpp @@ -1642,6 +1642,7 @@ uint8 S9xDoHDMA (uint8 byte) S9xSetPPU(*(HDMAMemPointers[d] + 0), 0x2100 + p->BAddress); ADD_CYCLES(SLOW_ONE_CYCLE); S9xSetPPU(*(HDMAMemPointers[d] + 1), 0x2101 + p->BAddress); + OpenBus = *(HDMAMemPointers[d] + 1); ADD_CYCLES(SLOW_ONE_CYCLE); HDMAMemPointers[d] += 2; break; diff --git a/ppu.cpp b/ppu.cpp index 68af94aa..e7e2fe95 100644 --- a/ppu.cpp +++ b/ppu.cpp @@ -964,8 +964,6 @@ void S9xSetPPU (uint8 Byte, uint16 Address) #endif } - OpenBus = Byte; - break; case 0x212e: // TMW