--- BasiliskII/src/cdrom.cpp 2000/04/10 18:52:19 1.5 +++ BasiliskII/src/cdrom.cpp 2000/07/14 21:29:07 1.6 @@ -151,9 +151,6 @@ static DriveInfo *first_drive_info; // Icon address (Mac address space, set by PatchROM()) uint32 CDROMIconAddr; -// Number of ticks between checks for disk insertion -const int driver_delay = 120; - // Flag: Control(accRun) has been called, interrupt routine is now active static bool acc_run_called = false; @@ -964,18 +961,13 @@ int16 CDROMStatus(uint32 pb, uint32 dce) /* - * Driver interrupt routine - check for volumes to be mounted + * Driver interrupt routine (1Hz) - check for volumes to be mounted */ void CDROMInterrupt(void) { - static int tick_count = 0; if (!acc_run_called) return; - tick_count++; - if (tick_count > driver_delay) { - tick_count = 0; - mount_mountable_volumes(); - } + mount_mountable_volumes(); }