feat: respond to API changes for software bkpts

This commit is contained in:
2023-01-29 07:06:06 -06:00
parent 755115660b
commit 518b868249
3 changed files with 7 additions and 5 deletions

View File

@@ -92,8 +92,9 @@ pub fn main() void {
const Server = @import("gdbstub").Server;
const EmuThing = @import("core/emu.zig").EmuThing;
var emu_thing = EmuThing.init(&cpu, &scheduler);
const emulator = emu_thing.interface();
var wrapper = EmuThing.init(&cpu, &scheduler);
var emulator = wrapper.interface(allocator);
defer emulator.deinit();
{
const frames_per_second: usize = 60;