diff options
Diffstat (limited to 'crates/runrom/src/main.rs')
| -rw-r--r-- | crates/runrom/src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/runrom/src/main.rs b/crates/runrom/src/main.rs index 3a18946..4388766 100644 --- a/crates/runrom/src/main.rs +++ b/crates/runrom/src/main.rs @@ -255,7 +255,7 @@ fn start_from_reset_vector(file: &String) -> u16 { } fn run( - file: &String, + file: &Path, start: u16, end: u16, assume_function: bool, @@ -295,9 +295,10 @@ fn main() { Some(s) => s, None => start_from_reset_vector(&args.file), }; + let file = PathBuf::from(args.file.clone()); match run( - &args.file, + &file, start, args.until_address, args.assume_function, |
