| 528 | } |
| 529 | |
| 530 | void sys_command_close (int unitnum) |
| 531 | { |
| 532 | struct blkdevstate *st = &state[unitnum]; |
| 533 | if (st->isopen > 1) { |
| 534 | st->isopen--; |
| 535 | return; |
| 536 | } |
| 537 | if (st->tape) { |
| 538 | tape_free (st->tape); |
| 539 | st->tape = NULL; |
| 540 | } |
| 541 | sys_command_close_internal (unitnum); |
| 542 | } |
| 543 | |
| 544 | void blkdev_cd_change (int unitnum, const TCHAR *name) |
| 545 | { |
no test coverage detected