aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutechre2020-10-22 15:23:15 +0200
committerGitHub2020-10-22 15:23:15 +0200
commitcab0a74b89a3c57608149893ef1545cabf1f5a46 (patch)
tree5ba265d628780afbed3f2e22fb09e82f7893b73d
parent076dffc6e1a61d19565ee44e49518c7f5846306a (diff)
parent21376d97a4162e10ecd8026c119881a6601dffde (diff)
downloadsnes9x2005-cab0a74b89a3c57608149893ef1545cabf1f5a46.tar.gz
snes9x2005-cab0a74b89a3c57608149893ef1545cabf1f5a46.tar.bz2
snes9x2005-cab0a74b89a3c57608149893ef1545cabf1f5a46.zip
Merge pull request #81 from jdgleaver/frameskip-counter-fix
Ensure frameskip counter is reset when a frame is rendered
-rw-r--r--libretro.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libretro.c b/libretro.c
index ca8b68d..b29c760 100644
--- a/libretro.c
+++ b/libretro.c
@@ -614,6 +614,8 @@ void retro_run(void)
else
frameskip_counter = 0;
}
+ else
+ frameskip_counter = 0;
}
/* If frameskip/timing settings have changed,