diff --git a/src/Packet.zig b/src/Packet.zig index f1adbd3..b3f33fb 100644 --- a/src/Packet.zig +++ b/src/Packet.zig @@ -181,6 +181,8 @@ pub fn parse(self: *Self, allocator: Allocator, emu: Emulator) !String { const offset_str = tokens.next() orelse return .{ .static = "E9999" }; const length_str = tokens.next() orelse return .{ .static = "E9999" }; + log.info("Providing GBA memory map", .{}); + const offset = try std.fmt.parseInt(usize, offset_str, 16); const length = try std.fmt.parseInt(usize, length_str, 16); diff --git a/src/Server.zig b/src/Server.zig index 5af0acc..7b9cb49 100644 --- a/src/Server.zig +++ b/src/Server.zig @@ -39,23 +39,18 @@ pub const target: []const u8 = // Game Pak SRAM isn't included // TODO: Can i be more specific here? pub const memory_map: []const u8 = - \\ - \\ - \\ - \\ - \\ - \\ - \\ - \\ - \\ - \\ - \\ - \\ - \\ - \\ - \\ ; + \\ + \\ + \\ + \\ + \\ + \\ + \\ + \\ + \\ + \\ + \\ + \\ ; // FIXME: Shouldn't this be a Packet Struct?