More aggressive caching. In general, this makes Stepmania avoid looking in the song directory at all if the song is in the cache, in order to load songs faster. All the RadarValue calculations were also rolled into one to reduce the time needed to build the cache.
This commit is contained in:
@@ -58,6 +58,11 @@ float RageTimer::GetTimeSinceStart( bool bAccurate )
|
||||
return uint32_t(usecs>>32) * 4294.967296f + uint32_t(usecs)/1000000.f;
|
||||
}
|
||||
|
||||
uint64_t RageTimer::GetUsecsSinceStart()
|
||||
{
|
||||
return GetTime(true) - g_iStartTime;
|
||||
}
|
||||
|
||||
void RageTimer::Touch()
|
||||
{
|
||||
uint64_t usecs = GetTime( true );
|
||||
|
||||
Reference in New Issue
Block a user