feat: show game title as imgui screen title

This commit is contained in:
2023-01-16 04:49:55 -06:00
parent 3e98f4053a
commit ff609c85ba
3 changed files with 20 additions and 23 deletions

View File

@@ -90,7 +90,7 @@ pub fn main() void {
}
// TODO: Just copy the title instead of grabbing a pointer to it
var gui = Gui.init(allocator, &bus.pak.title, &bus.apu) catch |e| exitln("failed to init gui: {}", .{e});
var gui = Gui.init(allocator, bus.pak.title, &bus.apu) catch |e| exitln("failed to init gui: {}", .{e});
defer gui.deinit();
var quit = Atomic(bool).init(false);