From ea4a16e7665cf6b4a68f5c017b346547d6455470 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 15 Sep 2011 01:33:57 +0300 Subject: add fixed frameskip option --- plugins/dfxvideo/gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/dfxvideo') diff --git a/plugins/dfxvideo/gpu.c b/plugins/dfxvideo/gpu.c index 6af6447..d80a265 100644 --- a/plugins/dfxvideo/gpu.c +++ b/plugins/dfxvideo/gpu.c @@ -233,7 +233,7 @@ static void decideSkip(void) if(dwActFixes&0xa0) // -> pc fps calculation fix/old skipping fix { - int skip = (skip_advice && *skip_advice) || fps_skip < fFrameRateHz; + int skip = (skip_advice && *skip_advice) || UseFrameSkip == 1 || fps_skip < fFrameRateHz; if(skip && !bSkipNextFrame) // -> skip max one in a row {bSkipNextFrame = TRUE; fps_skip=fFrameRateHz;} else bSkipNextFrame = FALSE; -- cgit v1.2.3