mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Remove the nvidia anti-stutter hack, I could never reproduce any stutter on amd and can now say the same about nvidia gpu's, users suffering from it are likely using some nasty driver/system hacks or third party software doing weird stuff.
This commit is contained in:
1 parent
160d7d112f
commit
110d09d627
4 files changed
+3
-6
No files matched your search
@@ -632,7 +632,6 @@ static ConfigSetting graphicsSettings[] = {
|
||||
#if defined(USING_WIN_UI)
|
||||
ConfigSetting("RestartRequired", &g_Config.bRestartRequired, false, false),
|
||||
#endif
|
||||
ConfigSetting("RefreshAt60Hz", &g_Config.bRefreshAt60Hz, false, true, true),
|
||||
|
||||
// Most low-performance (and many high performance) mobile GPUs do not support aniso anyway so defaulting to 4 is fine.
|
||||
ConfigSetting("AnisotropyLevel", &g_Config.iAnisotropyLevel, 4, true, true),
|
||||
|
||||
@@ -186,7 +186,6 @@ public:
|
||||
bool bTexDeposterize;
|
||||
int iFpsLimit1;
|
||||
int iFpsLimit2;
|
||||
bool bRefreshAt60Hz;
|
||||
int iMaxRecent;
|
||||
int iCurrentStateSlot;
|
||||
int iRewindFlipFrequency;
|
||||
|
||||
@@ -110,7 +110,7 @@ static bool wasPaused;
|
||||
static bool flippedThisFrame;
|
||||
|
||||
// 1.001f to compensate for the classic 59.94 NTSC framerate that the PSP seems to have.
|
||||
static const double timePerVblank = (g_Config.bRefreshAt60Hz ? 1.0f : 1.001f) / 60.0f;
|
||||
static const double timePerVblank = 1.001f / 60.0f;
|
||||
|
||||
// Don't include this in the state, time increases regardless of state.
|
||||
static double curFrameTime;
|
||||
@@ -952,7 +952,7 @@ u32 sceDisplaySetFramebuf(u32 topaddr, int linesize, int pixelformat, int sync)
|
||||
}
|
||||
|
||||
// 1001 to account for NTSC timing (59.94 fps.)
|
||||
u64 expected = msToCycles(g_Config.bRefreshAt60Hz ? 1000 : 1001) / 60 - LEEWAY_CYCLES_PER_FLIP;
|
||||
u64 expected = msToCycles(1001) / 60 - LEEWAY_CYCLES_PER_FLIP;
|
||||
lastFlipCycles = now;
|
||||
nextFlipCycles = std::max(lastFlipCycles, nextFlipCycles) + expected;
|
||||
}
|
||||
@@ -1101,7 +1101,7 @@ static int sceDisplayGetAccumulatedHcount() {
|
||||
}
|
||||
|
||||
static float sceDisplayGetFramePerSec() {
|
||||
const static float framePerSec = g_Config.bRefreshAt60Hz ? 60.0f : 59.9400599f;
|
||||
const static float framePerSec = 59.9400599f;
|
||||
VERBOSE_LOG(SCEDISPLAY,"%f=sceDisplayGetFramePerSec()", framePerSec);
|
||||
return framePerSec; // (9MHz * 1)/(525 * 286)
|
||||
}
|
||||
|
||||
@@ -1425,7 +1425,6 @@ void OtherSettingsScreen::CreateViews() {
|
||||
list->Add(new CheckBox(&g_Config.bFrameSkipUnthrottle, gr->T("Frameskip unthrottle(good for CPU benchmark)")));
|
||||
list->Add(new CheckBox(&g_Config.bShowFrameProfiler, gr->T("Display frame profiler(heavy!)")));
|
||||
list->Add(new CheckBox(&g_Config.bSimpleFrameStats, gr->T("Display simple frame stats(heavy!)")));
|
||||
list->Add(new CheckBox(&g_Config.bRefreshAt60Hz, gr->T("Refresh at 60Hz(gamebreaking, but might be needed for NVidia stutter)")));
|
||||
list->Add(new CheckBox(&g_Config.bSavestateScreenshotResLimit, gr->T("Limit resolution of savestates screenshots")));
|
||||
list->Add(new CheckBox(&g_Config.bDiscordPresence, n->T("Send Discord(3rd party software) Presence information")));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user