From 71a87cf88e55e2bd4b0e04b523d9d66c7900228f Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Wed, 26 Apr 2023 11:11:46 +1000 Subject: [PATCH] ACTUALLY fixed vram dma --- lib/src/processor/memory/mmio/cgb/vram_dma.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/processor/memory/mmio/cgb/vram_dma.rs b/lib/src/processor/memory/mmio/cgb/vram_dma.rs index 56a4c37..6fcda03 100644 --- a/lib/src/processor/memory/mmio/cgb/vram_dma.rs +++ b/lib/src/processor/memory/mmio/cgb/vram_dma.rs @@ -55,8 +55,8 @@ impl VramDma { } fn reset_registers(&mut self) { - self.source = 0; - self.destination = 0x8000; + self.source = 0xFFF0; + self.destination = 0x9FF0; } pub(crate) fn set_register(&mut self, address: VramDmaAddress, data: u8) {