zesinger / libserum

Cross platform dynamic library code for Serum file format
GNU General Public License v2.0
11 stars 4 forks source link

misc: replace chrono calculations with UINT32 #19

Closed jsm174 closed 1 year ago

jsm174 commented 1 year ago

This PR updates the chrono time variables with UINT32 variables. This makes the elapsed calculations easier to read.

Chrono is only used in calculating now as a UINT32 as suggested by @pinballpower:

UINT32 now = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count();

Also, the version is increased to 1.3.2.