mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 01:44:19 +00:00
Implement/match LegoVideoManager::Tickle (#409)
* Implement LegoVideoManager::Tickle * Match * Remove duplicate annotations * Add missing annotations * Rename list functions * Fix * Rename some symbols
This commit is contained in:
committed by
GitHub
parent
27269647f8
commit
dac2a517c3
@@ -11,6 +11,8 @@
|
||||
// NOTE: MxStopWatch measures elapsed (wall clock) time.
|
||||
//
|
||||
|
||||
#define HUGE_VAL_IMMEDIATE 1.7976931348623157e+308
|
||||
|
||||
class MxStopWatch {
|
||||
public:
|
||||
MxStopWatch();
|
||||
@@ -54,7 +56,7 @@ inline void MxStopWatch::Stop()
|
||||
|
||||
if (endTick.HighPart != m_startTick.HighPart) {
|
||||
// LARGE_INTEGER arithmetic not yet provided
|
||||
m_elapsedSeconds = HUGE_VAL;
|
||||
m_elapsedSeconds = HUGE_VAL_IMMEDIATE;
|
||||
}
|
||||
else {
|
||||
m_elapsedSeconds += ((endTick.LowPart - m_startTick.LowPart) / (double) m_ticksPerSeconds);
|
||||
|
||||
Reference in New Issue
Block a user