chore: move a single statement lol

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-01-28 22:57:48 -04:00
parent 19359f7ee4
commit ad1db4dc2e
1 changed files with 1 additions and 1 deletions

View File

@ -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 });