MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / GetTextureHashFrequencyFromFrames

Function GetTextureHashFrequencyFromFrames

Source/Utility/Preferences.cpp:534–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534static ETextureHashFrequency GetTextureHashFrequencyFromFrames( u32 frames )
535{
536 for( u32 i = 0; i < NUM_THF; ++i )
537 {
538 if( frames <= gTextureHashFreqeuncies[ i ] )
539 {
540 return ETextureHashFrequency( i );
541 }
542 }
543
544 return THF_EVERY_32; // Return the maximum
545}
546
547const char * Preferences_GetTextureHashFrequencyDescription( ETextureHashFrequency thf )
548{

Callers 1

OpenPreferencesFileMethod · 0.85

Calls 1

Tested by

no test coverage detected