Skip to content

Commit 34d0e69

Browse files
authored
change target address to 24 bits instead of 16 for DMAs to BWRAM to reflect size of DDA register
1 parent cdef244 commit 34d0e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bsnes/sfc/coprocessor/sa1/dma.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ auto SA1::dmaNormal() -> void {
33
while(mmio.dtc--) {
44
uint8 data = r.mdr;
55
uint24 source = mmio.dsa++;
6-
uint16 target = mmio.dda++;
6+
uint24 target = mmio.dda++;
77

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

0 commit comments

Comments
 (0)