mirror of https://github.com/bsnes-emu/bsnes.git
change target address to 24 bits instead of 16 for DMAs to BWRAM to reflect size of DDA register
This commit is contained in:
parent
cdef244f38
commit
b815744b4c
|
@ -3,7 +3,7 @@ auto SA1::dmaNormal() -> void {
|
||||||
while(mmio.dtc--) {
|
while(mmio.dtc--) {
|
||||||
uint8 data = r.mdr;
|
uint8 data = r.mdr;
|
||||||
uint24 source = mmio.dsa++;
|
uint24 source = mmio.dsa++;
|
||||||
uint16 target = mmio.dda++;
|
uint24 target = mmio.dda++;
|
||||||
|
|
||||||
if(mmio.sd == DMA::SourceROM && mmio.dd == DMA::DestBWRAM) {
|
if(mmio.sd == DMA::SourceROM && mmio.dd == DMA::DestBWRAM) {
|
||||||
step();
|
step();
|
||||||
|
|
Loading…
Reference in New Issue