Advertisement
Guest User

AROS IDE fix proposal (minimal changes)

a guest
Jan 21st, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. void ata_WaitNano(ULONG ns, struct ataBase *base)
  2. {
  3. ns /= 2;
  4. if (!(SysBase->AttnFlags & AFF_68020))
  5. ns /= 2;
  6. while (ns >= 65536 * 4) {
  7. busywait(65535);
  8. ns -= 65536 * 4;
  9. }
  10.  
  11. busywait(ns / 4);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement