diff --git a/dma.cpp b/dma.cpp index 6d32cbd3..652f0f10 100644 --- a/dma.cpp +++ b/dma.cpp @@ -1642,7 +1642,6 @@ 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 e7e2fe95..68af94aa 100644 --- a/ppu.cpp +++ b/ppu.cpp @@ -964,6 +964,8 @@ void S9xSetPPU (uint8 Byte, uint16 Address) #endif } + OpenBus = Byte; + break; case 0x212e: // TMW