Revert "fix: allow for 32-bit reads to KEYINPUT"

This reverts commit 3a51707280.
This commit is contained in:
Rekai Nyangadzayi Musuka 2022-02-05 14:52:49 -04:00
parent 5ec8d4b0a5
commit 428eff1468
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ pub const Io = struct {
0x0400_0000 => @as(u32, self.dispcnt.raw), 0x0400_0000 => @as(u32, self.dispcnt.raw),
0x0400_0004 => @as(u32, self.dispstat.raw), 0x0400_0004 => @as(u32, self.dispstat.raw),
0x0400_0006 => @as(u32, self.vcount.raw), 0x0400_0006 => @as(u32, self.vcount.raw),
0x0400_0130 => @as(u32, self.keyinput.raw),
0x0400_0200 => @as(u32, self.ie.raw), 0x0400_0200 => @as(u32, self.ie.raw),
0x0400_0208 => @boolToInt(self.ime), 0x0400_0208 => @boolToInt(self.ime),
else => std.debug.panic("[I/O:32] tried to read from {X:}", .{addr}), else => std.debug.panic("[I/O:32] tried to read from {X:}", .{addr}),