Rework the portable support

This commit is contained in:
Andrea Mazzoleni 2026-03-02 01:13:19 +01:00
parent 34fc79464b
commit b3879f7f8e
9 changed files with 139 additions and 128 deletions

View file

@ -1612,12 +1612,12 @@ static void* scan_disk(void* arg)
}
}
start = tick_ms();
start = os_tick_ms();
scan_dir(scan, 0, scan->is_diff, disk->dir, "");
if (!scan->is_diff)
msg_progress("Scanned %s in %" PRIu64 " seconds\n", disk->name, (tick_ms() - start) / 1000);
msg_progress("Scanned %s in %" PRIu64 " seconds\n", disk->name, (os_tick_ms() - start) / 1000);
return 0;
}