Skip to content

Commit

Permalink
change target address to 24 bits instead of 16 for DMAs to BWRAM to r…
Browse files Browse the repository at this point in the history
…eflect size of DDA register
  • Loading branch information
Fernap authored and Screwtapello committed Nov 2, 2024
1 parent cdef244 commit b815744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsnes/sfc/coprocessor/sa1/dma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ auto SA1::dmaNormal() -> void {
while(mmio.dtc--) {
uint8 data = r.mdr;
uint24 source = mmio.dsa++;
uint16 target = mmio.dda++;
uint24 target = mmio.dda++;

if(mmio.sd == DMA::SourceROM && mmio.dd == DMA::DestBWRAM) {
step();
Expand Down

0 comments on commit b815744

Please sign in to comment.