From 59d85ab37168b274f362a5586be8e594ebc18816 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Thu, 9 Mar 2023 10:24:33 +1100 Subject: [PATCH] enum is function? thats crazy --- gb-emu/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb-emu/src/main.rs b/gb-emu/src/main.rs index 45f95fb..e44f258 100644 --- a/gb-emu/src/main.rs +++ b/gb-emu/src/main.rs @@ -79,7 +79,7 @@ fn main() { rom: RomFile::Path(args.rom), save_path: args.save, no_save: args.no_save, - bootrom: args.bootrom.map(|v| RomFile::Path(v)), + bootrom: args.bootrom.map(RomFile::Path), connect_serial: args.connect_serial, verbose: args.verbose, cycle_count: args.cycle_count,