fix: make xml memory map optional
Can make it mandatory once I've figured out the whole NDS memory map thing
This commit is contained in:
@@ -21,10 +21,10 @@ emu: Emulator,
|
||||
pub const State = struct {
|
||||
should_quit: bool = false,
|
||||
target_xml: []const u8,
|
||||
memmap_xml: []const u8,
|
||||
memmap_xml: ?[]const u8,
|
||||
};
|
||||
|
||||
const Xml = struct { target: []const u8, memory_map: []const u8 };
|
||||
const Xml = struct { target: []const u8, memory_map: ?[]const u8 };
|
||||
|
||||
pub fn init(emulator: Emulator, xml: Xml) !Self {
|
||||
var server = std.net.StreamServer.init(.{});
|
||||
|
||||
Reference in New Issue
Block a user