Made a sudden end to all stdio drives in burn_abort()

This commit is contained in:
Thomas Schmitt 2008-01-26 13:16:12 +00:00
parent 645eee5b7f
commit d8395cd78e
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2008.01.26.123054" #define Cdrskin_timestamP "2008.01.26.131519"

View File

@ -1698,7 +1698,10 @@ int burn_abort(int patience,
occup = burn_drive_is_occupied(&(drive_array[i])); occup = burn_drive_is_occupied(&(drive_array[i]));
if(occup == -2) if(occup == -2)
continue; continue;
if(occup <= 10) { if(drive_array[i].drive_role != 1) {
drive_array[i].busy = BURN_DRIVE_IDLE;
burn_drive_forget(&(drive_array[i]), 1);
} else if(occup <= 10) {
burn_drive_forget(&(drive_array[i]), 1); burn_drive_forget(&(drive_array[i]), 1);
} else if(occup <= 100) { } else if(occup <= 100) {
if(first_round) if(first_round)