set dma addr to last loaded
This commit is contained in:
parent
a462e2cfd2
commit
3d15a1ef6f
|
@ -260,6 +260,7 @@ impl Memory {
|
||||||
if data > 0xDF {
|
if data > 0xDF {
|
||||||
panic!("dma transfer out of bounds: {:#X}", data);
|
panic!("dma transfer out of bounds: {:#X}", data);
|
||||||
}
|
}
|
||||||
|
self.io[addr_l] = data;
|
||||||
let mut addr: u16 = 0x0;
|
let mut addr: u16 = 0x0;
|
||||||
addr.set_high(data);
|
addr.set_high(data);
|
||||||
for l in 0x0..0xA0 {
|
for l in 0x0..0xA0 {
|
||||||
|
|
Loading…
Reference in a new issue