From 8cb6a2ef7989cfd952f9b095994270b544319e3a Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 15 Apr 2013 06:55:57 -0700 Subject: [PATCH] Corrected to properly leverage the new -N attach_unit switch --- AltairZ80/altairz80_sio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AltairZ80/altairz80_sio.c b/AltairZ80/altairz80_sio.c index f66d69bb..fbbe79a2 100644 --- a/AltairZ80/altairz80_sio.c +++ b/AltairZ80/altairz80_sio.c @@ -1267,8 +1267,8 @@ static void attachCPM(UNIT *uptr) { if (uptr == &ptr_unit) sim_switches = SWMASK('R') | SWMASK('Q'); else if (uptr == &ptp_unit) - sim_switches = SWMASK('W') | SWMASK('C') | SWMASK('Q'); - /* 'C' option makes sure that file is properly truncated if it had existed before */ + sim_switches = SWMASK('W') | SWMASK('N') | SWMASK('Q'); + /* 'N' option makes sure that file is properly truncated if it had existed before */ sim_quiet = sim_switches & SWMASK ('Q'); /* -q means quiet */ lastCPMStatus = attach_unit(uptr, cpmCommandLine); if (lastCPMStatus != SCPE_OK) {