From 22979d94500c65512261e8ab5648b192df8040d5 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sat, 22 Oct 2022 15:33:36 -0300 Subject: [PATCH] fix(bios): fix regression was reading addr_latch + 8, which is a remnant from when I was faking the pipeline --- src/core/bus/Bios.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/bus/Bios.zig b/src/core/bus/Bios.zig index 8e81ce1..89677a0 100644 --- a/src/core/bus/Bios.zig +++ b/src/core/bus/Bios.zig @@ -19,7 +19,7 @@ pub fn read(self: *Self, comptime T: type, r15: u32, addr: u32) T { } log.debug("Rejected read since r15=0x{X:0>8}", .{r15}); - return @truncate(T, self._read(T, self.addr_latch + 8)); + return @truncate(T, self._read(T, self.addr_latch)); } pub fn dbgRead(self: *const Self, comptime T: type, r15: u32, addr: u32) T {