millisec() concern

BlitzMax Forums/BlitzMax Programming/millisec() concern

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hibernate does not reset the uptime of the system.
So a system thats in hibernate for 25 days will have negative millisecs actually. but thats no problem. Due to AppSuspended and AppResumed you are able to "cut" that time if you need it.
At best you only work with inframe time differences and let the rest outside of your logic calculation.
But even if you don't do it: the millisecs is only a problem for 2 milliseconds: 1. when it goes from + max to - max and 2. when it goes from -1 to 0. but only the first one causes a massive error.