Improve flow of command-line debugging

This commit is contained in:
2025-01-05 11:24:59 -05:00
parent d6eb8ec7ef
commit 6fd8d8f5cf
5 changed files with 40 additions and 8 deletions
+3
View File
@@ -87,6 +87,9 @@ fn main() -> Result<()> {
if let Some(path) = args.rom {
builder = builder.with_rom(&path);
}
if args.debug_port.is_some() {
builder = builder.start_paused(true);
}
ThreadBuilder::default()
.name("Emulator".to_owned())