From 93870c7357fac1d2e2cffeb3f3e6dc725eb7b6e3 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Mon, 27 Feb 2023 11:45:15 +1100 Subject: [PATCH] hblank when lcd disabled --- src/processor/memory/mmio/gpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processor/memory/mmio/gpu.rs b/src/processor/memory/mmio/gpu.rs index e1dc251..3fc4552 100644 --- a/src/processor/memory/mmio/gpu.rs +++ b/src/processor/memory/mmio/gpu.rs @@ -121,7 +121,7 @@ impl Gpu { } } else { self.mode_clock = 0; - self.stat.mode = DrawMode::VBlank; + self.stat.mode = DrawMode::HBlank; self.scanline = 0; }