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,