Actually, I like the other fix better. We know the HDMA reads this value into the MDR as an intermediary, not that writing the address writes to OpenBus.

Revert "We definitely only know Speedy writes this address and it goes to open bus on hardware."

This reverts commit 6f5295225c.
This commit is contained in:
Brandon Wright 2018-05-30 17:10:36 -05:00
parent 6f5295225c
commit 14c8b043ef
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -964,8 +964,6 @@ void S9xSetPPU (uint8 Byte, uint16 Address)
#endif
}
OpenBus = Byte;
break;
case 0x212e: // TMW