Commit Graph
344 Commits
Author SHA1 Message Date
Henrik Rydgård 1b3b1acefa Tweak ForceMax60Fps to work for Killzone 2022-08-30 20:10:44 +02:00
Lubos 2887671e6f OpenXR - Refactor display framerate 2022-08-17 16:55:19 +02:00
Lubos cc3981a328 OpenXR - 72Hz support added 2022-08-05 15:14:21 +02:00
Henrik RydgårdandGitHub d2002eab39 Merge pull request #15640 from LunaMoo/master
Disable ForceMax60FPS for GOW games and replace it with fixed 60 fps
2022-07-10 23:25:35 +02:00
Unknown W. Brackets c15c4a6967 UI: Add analog speed limit mapping.
Only shows up as a setting if mapped, to avoid cluttering settings.
2022-07-04 19:14:05 -07:00
LunaMoo 0dcf8242f5 Add Fixed60FPShack for GOW, should work smoother than the ForceMax60FPS.
Also more stable than it's CWCheat version, unfortunately because of that,
still causes softlock in GOW:GOS vortex stage.
2022-07-02 19:39:35 +02:00
Unknown W. Brackets bbbb154da0 Display: Ignore lagsync when auto frameskip on.
The delays in lag sync will only confuse the frameskipping code,
because it will interpret the intentional delays as need for skipping.

In theory, frameskip could ignore the lag sync time, but it would still
make frameskip far less effective.
2022-05-10 17:06:09 -07:00
Unknown W. Brackets 48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets ad2e380987 Display: Move listeners to separate HW file.
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Unknown W. Brackets dc843c258d Display: Prevent lock around listener calls.
Fixes #15123, crash in Bleach: Soul Carnival 2.
2021-11-10 19:30:25 -08:00
Unknown W. Brackets 1532a729d7 Core: Allow forcing debug statistics collection.
Useful for remote debugging.
2021-10-19 10:01:41 -07:00
Unknown W. Brackets a06efdd222 Display: Allow threadsafe listeners.
Also add a flip listener.
2021-10-19 10:01:40 -07:00
Unknown W. Brackets e1d261b707 Display: Remove frameskip fast-forward mode.
Fixes #13546.
2021-10-12 20:38:57 -07:00
Unknown W. Brackets 4c0951eb93 Display: Avoid skipping flips at 60 FPS.
If the device is 58 or 59 FPS, let's just assume it's better to flip each
time.
2021-10-03 07:04:04 -07:00
Unknown W. Brackets 9024c7111b Vulkan: Fix faster alt speed with vsync. 2021-09-14 22:53:54 -07:00
Unknown W. Brackets 46770aba3a Vulkan: Skip flips, not draw, for vsync unthrottle. 2021-09-14 22:35:32 -07:00
Henrik Rydgård a7859cfd2a Fix some comments and a string 2021-08-18 09:28:17 +02:00
Henrik Rydgård 928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Unknown W. Brackets 6f9f9f5f2a HLE: Ignore flip time in syscall stats.
Don't want to count flip timing as the slowest thing, when it happens
inside sceDisplaySetFramebuf (immediate.)
2021-08-14 20:18:06 -07:00
Henrik Rydgård 5859596b95 Make the "Running Slow" warning a bit more lenient.
Might help #12024, or at least the annoying unnecessary warning.

Our audio mixer is able to cover for 97% speed by stretching the sound
anyway, so I think there's not much point in a visually loud warning
until it drops below that.
2021-07-11 11:09:05 +02:00
Henrik RydgårdandGitHub 93fd62f54b Merge pull request #13832 from unknownbrackets/events
SaveState: Make event restoring more obvious
2021-02-15 23:39:42 +01:00
Unknown W. Brackets f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Unknown W. Brackets 06f8ab5a49 SaveState: Make event restoring more obvious.
We still must restore all events, but everything can be taken care of
during the save state load.
2020-12-28 13:29:19 -08:00
Henrik Rydgård d4c02ccc1c Address feedback about recent changes
Thanks unknown.
2020-10-19 22:50:31 +02:00
Henrik Rydgård 2127524b35 Fix a couple of issues with #13477, found by aliaspider.
Might help #13494 and other freezing issues.
2020-10-12 23:00:06 +02:00
Henrik Rydgård e97baa503a Avoid a division in time_now_d(). Minor optimizations. 2020-10-10 19:05:46 +02:00
Henrik Rydgård 0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård 821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
Henrik Rydgård ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård 054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
iota97 fe86f257b5 Cache 60 FPS requirement 2020-09-15 07:49:01 +02:00
iota97 0c885db052 User chain support 2020-09-13 21:48:00 +02:00
Henrik Rydgård ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02:00
Unknown W. Brackets b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets 1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets 4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgård d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Unknown W. BracketsandHenrik Rydgård 4ef63843d2 Display: Allow unthrottle to skip only flipping.
Before, it either flipped continuously, or forced frameskip on.  This
makes it so you can still draw frames, but skip actual flips.

This is useful when games draw things only in a single frame and reuse
later.  It's also useful when measuring speed improvements if you already
get 100% speed on a device.
2020-07-19 13:57:04 +02:00
Henrik Rydgård 1897eed9b4 More buildfixes 2020-07-18 21:43:13 +02:00
Henrik Rydgård a722dfe0fb Formalize "core excpetions" as a concept 2020-07-12 15:25:21 +02:00
Henrik Rydgård df6f216056 Disable the "Duplicate frames" feature if frameskip != 0. Works around / Fixes #13068 2020-06-28 22:20:22 +02:00
Henrik Rydgård 788b8a29d6 Fix the logic around postEffectRequiresFlip so duplicateFrames doesn't require a post shader. 2020-03-17 13:10:43 +01:00
Unknown W. Brackets a6edf70aa0 Display: Update latched fbaddr on immediate update.
This is needed for the next sceDisplayGetFramebuf() to return the right
value.  This is why it didn't seem to match tests.
2020-03-15 19:13:41 -07:00
Henrik Rydgård d385096599 Add option to improve frame pacing through duplicate frames if framerate is below 60hz.
Should help #9736, and fixes #12325.
2020-03-15 17:33:16 +01:00
Unknown W. Brackets 6652fe261f PPGe: Use TextDrawer for save UI if available.
This should result in better spacing for non-Latin characters, and less
missing letters.  Basically the same benefits as for the UI.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets cebcfb1bbd GPU: Use old frame when presenting a skip.
If we flip using a skipped frame, we may show an even older frame causing
weird flickering.
2020-03-01 13:55:28 -08:00
Unknown W. Brackets 566e46d70c Vulkan: Allow alt speed above 60 with vsync.
Enabling frameskip when needed.  Also don't enable frameskip when it's not
needed, such as OpenGL on Windows with >100% alt speed.
2020-03-01 07:44:06 -08:00
Henrik RydgårdandGitHub 2ec82951a0 Merge pull request #12659 from unknownbrackets/vsync
Support vsync in all hardware backends, support runtime update
2020-03-01 09:52:14 +01:00