chore: remove util fn for stdlib equivalent

This commit is contained in:
2022-11-11 13:02:51 -04:00
parent 1230aa1e91
commit 5d7cf3a8a2
3 changed files with 2 additions and 56 deletions

View File

@@ -9,8 +9,6 @@ const Arm7tdmi = @import("core/cpu.zig").Arm7tdmi;
const Scheduler = @import("core/scheduler.zig").Scheduler;
const FpsTracker = @import("util.zig").FpsTracker;
const span = @import("util.zig").span;
const gba_width = @import("core/ppu.zig").width;
const gba_height = @import("core/ppu.zig").height;
@@ -73,7 +71,7 @@ pub const Gui = struct {
return Self{
.window = window,
.title = span(title),
.title = std.mem.sliceTo(title, 0),
.ctx = ctx,
.program_id = program_id,
.audio = Audio.init(apu),