MCPcopy Create free account
hub / github.com/EasyRPG/Player / SetFrameLimit

Method SetFrameLimit

src/baseui.h:426–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426inline void BaseUi::SetFrameLimit(int fps_limit) {
427 vcfg.fps_limit.Set(fps_limit);
428
429 frame_limit = (fps_limit == 0 ? Game_Clock::duration(0) : Game_Clock::TimeStepFromFps(fps_limit));
430}
431
432#endif

Callers 1

RefreshVideoMethod · 0.80

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected