mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add "FastEmulatedGPU" compat flag. For games like Outrun that have intermittent slowdowns on hardware, it's unnecessary under emulation.
This commit is contained in:
1 parent
a03e112a80
commit
bae1a7c7f9
4 files changed
+13
-1
No files matched your search
@@ -163,6 +163,7 @@ void Compatibility::CheckSettings(IniFile &iniFile, const std::string &gameID) {
|
||||
CheckSetting(iniFile, gameID, "BoostExactFramebufferMatch", &flags_.BoostExactFramebufferMatch);
|
||||
CheckSetting(iniFile, gameID, "PersistentFramebuffers", &flags_.PersistentFramebuffers);
|
||||
CheckSetting(iniFile, gameID, "FileCreatedTimeHack", &flags_.FileCreatedTimeHack);
|
||||
CheckSetting(iniFile, gameID, "FastEmulatedGPU", &flags_.FastEmulatedGPU);
|
||||
}
|
||||
|
||||
void Compatibility::CheckVRSettings(IniFile &iniFile, const std::string &gameID) {
|
||||
|
||||
@@ -122,6 +122,7 @@ struct CompatFlags {
|
||||
bool BoostExactFramebufferMatch;
|
||||
bool PersistentFramebuffers;
|
||||
bool FileCreatedTimeHack;
|
||||
bool FastEmulatedGPU;
|
||||
};
|
||||
|
||||
struct VRCompat {
|
||||
|
||||
+4
-1
@@ -1290,7 +1290,10 @@ bail:
|
||||
|
||||
int cycles = vertexCost_ * totalVertCount;
|
||||
gpuStats.vertexGPUCycles += cycles;
|
||||
cyclesExecuted += cycles;
|
||||
|
||||
if (!PSP_CoreParameter().compat.flags().FastEmulatedGPU) {
|
||||
cyclesExecuted += cycles;
|
||||
}
|
||||
}
|
||||
|
||||
void GPUCommonHW::Execute_Bezier(u32 op, u32 diff) {
|
||||
|
||||
@@ -2140,3 +2140,10 @@ NPUZ00006 = true # MJA 2
|
||||
# Silent Hill: Shattered Memories does some strange checks of the file-created time, which won't pass on some platforms. See issue #13781
|
||||
ULES01352 = true
|
||||
ULUS10450 = true
|
||||
|
||||
[FastEmulatedGPU]
|
||||
# Crude hack that makes the emulated GPU appear a lot faster, removing internal slowdowns in games. This makes Outrun stick to 60fps.
|
||||
# Outrun 2006: Coast to Coast - issue #11358 (car reflections)
|
||||
ULES00262 = true
|
||||
ULUS10064 = true
|
||||
ULKS46087 = true
|
||||
Reference in new issue
Block a user