From ad1db4dc2eea56ef6d43d918d6c09b3744109704 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 28 Jan 2022 22:57:48 -0400 Subject: [PATCH] chore: move a single statement lol --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index 62d7907..732be0d 100644 --- a/src/main.zig +++ b/src/main.zig @@ -16,6 +16,7 @@ const gba_height = @import("ppu.zig").height; const buf_pitch = @import("ppu.zig").buf_pitch; pub const enable_logging: bool = false; +const is_binary: bool = false; pub fn main() anyerror!void { // Allocator for Emulator + CLI @@ -48,7 +49,6 @@ pub fn main() anyerror!void { cpu.fastBoot(); if (enable_logging) { - const is_binary: bool = true; const file_name = if (is_binary) "zba.bin" else "zba.log"; const file = try std.fs.cwd().createFile(file_name, .{ .read = true });