From b884832675a73a29ce1f46b4eb5b0ded0168b365 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 31 Jan 2009 16:44:06 +0000 Subject: [PATCH] re-add my change to stop throttling when frameskip is 0, but do it right this time, so that autoframeskip causes the throttling to enable as a limiter --- desmume/src/windows/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index aebb9a425..db06a3c19 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -1027,7 +1027,7 @@ DWORD WINAPI run() NDS_SkipFrame(true); } - // if(frameskiprate != 0) + if(frameskiprate != 0 || autoframeskipenab) while(SpeedThrottle()) { }