From 8926026b5b295aadf61dc83a16ae7d9f947f4dd2 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 21 Oct 2022 05:12:03 -0300 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 });