MCPcopy Create free account
hub / github.com/TASEmulators/fceux / RefreshThrottleFPS

Function RefreshThrottleFPS

fceux-server/throttle.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void RefreshThrottleFPS(int divooder)
68{
69 desiredfps=(FCEUI_GetDesiredFPS() / divooder)>>8;
70 tfreq=1000000;
71 tfreq<<=16; /* Adjustment for fps returned from FCEUI_GetDesiredFPS(). */
72}
73
74static uint64 GetCurTime(void)
75{

Callers 1

mainFunction · 0.70

Calls 1

FCEUI_GetDesiredFPSFunction · 0.70

Tested by

no test coverage detected