From 428eff1468da3af1516c309c00844d4d62ce9eb0 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sat, 5 Feb 2022 14:52:49 -0400 Subject: [PATCH] Revert "fix: allow for 32-bit reads to KEYINPUT" This reverts commit 3a51707280bcb35f3397c8a6da8441f95629bf07. --- src/bus/io.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bus/io.zig b/src/bus/io.zig index 40c191a..08c529b 100644 --- a/src/bus/io.zig +++ b/src/bus/io.zig @@ -30,7 +30,6 @@ pub const Io = struct { 0x0400_0000 => @as(u32, self.dispcnt.raw), 0x0400_0004 => @as(u32, self.dispstat.raw), 0x0400_0006 => @as(u32, self.vcount.raw), - 0x0400_0130 => @as(u32, self.keyinput.raw), 0x0400_0200 => @as(u32, self.ie.raw), 0x0400_0208 => @boolToInt(self.ime), else => std.debug.panic("[I/O:32] tried to read from {X:}", .{addr}),