Skip to content

Commit

Permalink
[RasPlex][ENH] Default GUI Framerate to 15 fps when no VSYNC
Browse files Browse the repository at this point in the history
  • Loading branch information
LongChair committed Feb 18, 2014
1 parent 17e8d5b commit 5d328e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xbmc/XBApplicationEx.cpp
Expand Up @@ -82,7 +82,13 @@ INT CXBApplicationEx::Run()

unsigned int lastFrameTime = 0;
unsigned int frameTime = 0;
/* PLEX */
#if defined(TARGET_RASPBERRY_PI) && defined(__PLEX__)
const unsigned int noRenderFrameTime = 66; // Simulates ~15fps
#else
const unsigned int noRenderFrameTime = 15; // Simulates ~66fps
#endif
/* END PLEX */

#ifdef XBMC_TRACK_EXCEPTIONS
BYTE processExceptionCount = 0;
Expand Down

0 comments on commit 5d328e8

Please sign in to comment.