enum is function? thats crazy

This commit is contained in:
Alex Janka 2023-03-09 10:24:33 +11:00
parent 79f9d70ff2
commit 59d85ab371

View file

@ -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,