El 3/12/21 a les 18:37, Dennis Lee Bieber via fpc-pascal ha escrit:

        Detection is normally done by: if current tick is less than saved tick,
roll-over has occurred. Make adjustments to the delta.

There is no need to do that, just make sure you're using DWORDs (i.e. unsigned arithmetic) everywhere and disable overflow checking.

Bye
--
Luca


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to