mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +01:00
Stick to a single config entry per option.
We don't need a bool in the ini AND an int setting. This should also fix the anistropy setting, which appears to have been pretty much broken. Also makes frameskip enable even if you don't tap auto, which is what I'd assumed it did before.
This commit is contained in:
1 parent
45b6670310
commit
a1cb85cd05
5 files changed
+52
-27
No files matched your search
@@ -286,7 +286,7 @@ void DoFrameTiming(bool &throttle, bool &skipFrame) {
|
||||
|
||||
// Check if the frameskipping code should be enabled. If neither throttling or frameskipping is on,
|
||||
// we have nothing to do here.
|
||||
bool doFrameSkip = g_Config.bFrameSkip;
|
||||
bool doFrameSkip = g_Config.iFrameSkip != 0;
|
||||
|
||||
// On non windows, which is always vsync locked, we need to force frameskip when
|
||||
// unthrottled.
|
||||
@@ -343,7 +343,7 @@ void DoFrameTiming(bool &throttle, bool &skipFrame) {
|
||||
|
||||
// Max 4 skipped frames in a row - 15 fps is really the bare minimum for playability.
|
||||
// We check for 3 here so it's 3 skipped frames, 1 non skipped, 3 skipped, etc.
|
||||
if (numSkippedFrames >= g_Config.iNumSkip) {
|
||||
if (numSkippedFrames >= g_Config.iFrameSkip) {
|
||||
skipFrame = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user