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

Function Preferences_GetFrameskipDescription

Source/Utility/Preferences.cpp:574–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574const char * Preferences_GetFrameskipDescription( EFrameskipValue value )
575{
576 switch( value )
577 {
578 case FV_DISABLED: return "Disabled";
579 case FV_AUTO1: return "Auto 1";
580 case FV_AUTO2: return "Auto 2";
581 case FV_1: return "1";
582 case FV_2: return "2";
583 case FV_3: return "3";
584 case FV_4: return "4";
585 case FV_5: return "5";
586 case FV_6: return "6";
587 case FV_7: return "7";
588 case FV_8: return "8";
589 case FV_9: return "9";
590#ifdef DAEDALUS_DEBUG_DISPLAYLIST
591 case FV_99: return "99";
592#endif
593 case NUM_FRAMESKIP_VALUES:
594 break;
595 }
596 #ifdef DAEDALUS_DEBUG_CONSOLE
597 DAEDALUS_ERROR( "Unhandled frameskip value" );
598 #endif
599 return "?";
600}

Callers 1

GetSettingNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected