From 8553ab6e6d172bfbb014d5843c7a5a90d01170f3 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 21 Oct 2022 05:12:58 -0300 Subject: [PATCH] chore: Guilty Gear X expects these I/O Registers --- src/core/bus/io.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/bus/io.zig b/src/core/bus/io.zig index f976640..f4f2373 100644 --- a/src/core/bus/io.zig +++ b/src/core/bus/io.zig @@ -80,6 +80,8 @@ pub fn read(bus: *const Bus, comptime T: type, address: u32) ?T { 0x0400_000E => bus.ppu.bg[3].cnt.raw, 0x0400_004C => util.io.read.todo(log, "Read {} from MOSAIC", .{T}), 0x0400_0050 => bus.ppu.bldcnt.raw, + 0x0400_0052 => bus.ppu.bldalpha.raw, + 0x0400_0054 => bus.ppu.bldy.raw, // Sound 0x0400_0060...0x0400_009E => apu.read(T, &bus.apu, address),