From e16c2df8d03ad52ef395e7762684d5e931bf006e Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Wed, 28 Sep 2022 16:37:40 -0300 Subject: [PATCH] fix: rename Pipline to Pipeline --- src/core/cpu.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/cpu.zig b/src/core/cpu.zig index 3e5e0de..78e027e 100644 --- a/src/core/cpu.zig +++ b/src/core/cpu.zig @@ -243,7 +243,7 @@ pub const Arm7tdmi = struct { const Self = @This(); r: [16]u32, - pipe: Pipline, + pipe: Pipeline, sched: *Scheduler, bus: *Bus, cpsr: PSR, @@ -264,7 +264,7 @@ pub const Arm7tdmi = struct { pub fn init(sched: *Scheduler, bus: *Bus, log_file: ?std.fs.File) Self { return Self{ .r = [_]u32{0x00} ** 16, - .pipe = Pipline.init(), + .pipe = Pipeline.init(), .sched = sched, .bus = bus, .cpsr = .{ .raw = 0x0000_001F }, @@ -644,7 +644,7 @@ pub fn checkCond(cpsr: PSR, cond: u4) bool { }; } -const Pipline = struct { +const Pipeline = struct { const Self = @This(); stage: [2]?u32, flushed: bool,