Allow more rate estimation deviation.

git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@198 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
This commit is contained in:
sinamas 2008-10-27 12:36:08 +00:00
parent 03ca427b8d
commit 5eb81ff36a

View File

@ -20,10 +20,10 @@
#include <cstdlib>
static long limit(long est, const long reference) {
if (est > reference + (reference >> 7))
est = reference + (reference >> 7);
else if (est < reference - (reference >> 7))
est = reference - (reference >> 7);
if (est > reference + (reference >> 6))
est = reference + (reference >> 6);
else if (est < reference - (reference >> 6))
est = reference - (reference >> 6);
return est;
}