aboutsummaryrefslogtreecommitdiff
path: root/patches/gpsp/1002-frameskip-changes.patch
blob: 3444df91ff504ae6f6d1e7c3281f1f67cacaf7b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/libretro.c b/libretro.c
index f31235b..241a69e 100644
--- a/libretro.c
+++ b/libretro.c
@@ -1099,7 +1099,7 @@ void retro_run(void)
                         1 : 0;
 
             if (!skip_next_frame ||
-                (frameskip_counter >= FRAMESKIP_MAX))
+                (frameskip_counter >= frameskip_interval))
             {
                skip_next_frame   = 0;
                frameskip_counter = 0;
@@ -1116,7 +1116,7 @@ void retro_run(void)
                               1 : 0;
 
             if (!skip_next_frame ||
-                (frameskip_counter >= FRAMESKIP_MAX))
+                (frameskip_counter >= frameskip_interval))
             {
                skip_next_frame   = 0;
                frameskip_counter = 0;