Corrected to properly leverage the new -N attach_unit switch
This commit is contained in:
parent
185f20a1ed
commit
8cb6a2ef79
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue