Permalink
Browse files

core: no longer sleeping in the core if speed limiter disabled

  • Loading branch information...
fzurita committed Feb 27, 2016
1 parent e68c945 commit 9eb17c70ebc5b0ad8a6b0a63607ae68c3db9322a
Showing with 1 addition and 1 deletion.
  1. +1 −1 jni/mupen64plus-core/src/main/main.c
@@ -788,7 +788,7 @@ static void apply_speed_limiter(void)
resetOnce = 0;
}
if(sleepTime > 0.0 && sleepTime < maxSleepNeeded)
if(sleepTime > 0.0 && sleepTime < maxSleepNeeded && l_MainSpeedLimit)
{
DebugMessage(M64MSG_VERBOSE, " apply_speed_limiter(): Waiting %ims", (int) sleepTime);

0 comments on commit 9eb17c7

Please sign in to comment.