Commit Graph
14759 Commits
Author SHA1 Message Date
Henrik Rydgård 1071d0808c Undo Daxter's rotation of the analog input. See #17015
I think this is quite a bit better actually. Appears to be exactly 15 degrees.
2023-02-27 11:10:47 +01:00
Henrik Rydgård c2c479b217 Remove function InitClear. Was only implemented for DX9, and only barely meaningful in non-buffered. 2023-02-25 16:32:50 +01:00
Henrik RydgårdandGitHub 8b431b39ba Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård bec429ed72 MacOS buildfix for some reason 2023-02-23 20:21:41 +01:00
Henrik Rydgård 64e80423a6 Simplify the tilt code, tweak a bit 2023-02-16 11:07:57 +01:00
Henrik Rydgård 3e286b7a27 Apply sensitivity before deadzone. Feels more intuitive 2023-02-16 10:35:38 +01:00
Henrik Rydgård a288c59841 Simplify tilt, step 1 2023-02-16 10:33:47 +01:00
Henrik RydgårdandGitHub 5a39ad31b9 Merge pull request #16961 from hrydgard/depth-block-transfer
Add limited support for block transfer of depth buffers. Fixes Iron Man.
2023-02-15 10:56:27 +01:00
Henrik RydgårdandGitHub 6e423fd5d3 Merge pull request #16970 from emuall/libretro-vfs
support libretro-VFS
2023-02-15 10:56:15 +01:00
xielei 8ff78cb921 aioemu 2023-02-15 17:21:45 +08:00
Henrik RydgårdandGitHub 645be5c0f2 Merge pull request #16967 from hrydgard/delay-in-osk-dialog
Eat some CPU cycles in sceUtilityOskUpdate. Works around timing bug in Ghost Recon Predator.
2023-02-15 09:28:11 +01:00
Henrik Rydgård 62a6f351d5 Initial work on depth copies 2023-02-15 07:35:07 +01:00
Unknown W. BracketsandGitHub 81ec0b03b8 Merge pull request #16965 from hrydgard/savestate-fixes
Reorder savestates to put memory before CoreTiming.
2023-02-14 22:04:58 -08:00
Henrik Rydgård 132e8eeccd Now these variables need to be initialized 2023-02-14 22:46:32 +01:00
Henrik Rydgård 78f3d450ff Eat some CPU cycles in sceUtilityOskUpdate. Works around timing bug in Ghost Recon Predator.
The bug is in the game, it uses the wrong vblank wait, but it only works
because the dialog processing takes so much time that it misses the
vblank period anyway.

Fixes #12044, and hopefully won't break anything else.
2023-02-14 20:14:49 +01:00
Serena c64aa9d19a address concerns 2023-02-14 19:11:32 +03:00
Henrik Rydgård 718cb9ee4a Reorder savestates to put memory before CoreTiming.
Also, don't clear the JIT for rounding after saving, only after loading.
2023-02-14 16:43:22 +01:00
Henrik Rydgård cebb885e84 Address feedback 2023-02-14 10:09:54 +01:00
Henrik Rydgård 2243ec5b31 Clearing fixes, fix out-of-bounds iterator 2023-02-14 10:09:54 +01:00
Henrik Rydgård 5418be738b Make the rewind snapshot interval wall-time based instead of frame-based. 2023-02-14 10:09:51 +01:00
Henrik Rydgård a7baa3580b Some code cleanups around rewind. 2023-02-14 10:09:36 +01:00
Henrik RydgårdandGitHub 86a19cebfd Merge pull request #16957 from unknownbrackets/riscv-vertexjit
riscv: Initial vertexjit
2023-02-13 08:33:05 +01:00
Unknown W. Brackets 89c18d8077 riscv: Cleanup missing Poison, Crash. 2023-02-12 12:10:29 -08:00
Unknown W. Brackets 0532b35538 Osk: Update by button flag consistently. 2023-02-12 10:06:53 -08:00
Henrik Rydgård 7d40ed6ba1 Tilt control: Split the deadzone parameter since it needs to be different for different types.
Can at least share the string without problems.

Also rearrange the settings a little bit.
2023-02-11 23:42:55 +01:00
Henrik Rydgård dc74778dea Do the last ones too 2023-02-09 10:27:29 +01:00
Henrik Rydgård c52db636ce Optimize tag formatting 2023-02-09 10:22:46 +01:00
Unknown W. Brackets 4bc205b7bc Impose: Log when ignoring requested language. 2023-02-08 19:07:54 -08:00
Unknown W. Brackets d7732f7fd7 Dialog: Warn when ignoring the dialog language. 2023-02-08 19:04:18 -08:00
Unknown W. Brackets fcc1abc7c3 Dialog: Update by button flag consistently.
Always check for the flag to change in Update().
2023-02-08 19:02:37 -08:00
Henrik Rydgård 9827dd536c Count listsyncs and drawsyncs in gpu stats. Eat some cycles in listSync
Chose a conservative number (same as sceGeContinue)
2023-02-08 00:41:26 +01:00
Henrik RydgårdandGitHub d1e0061dcd Merge pull request #16930 from lvonasek/feature_openxr_forcevr
OpenXR - Option to disable automatic switch between 2D and VR
2023-02-07 21:16:21 +01:00
Lubos 6e91ca9e54 OpenXR - Option to disable automatic switch between 2D and VR 2023-02-07 19:48:16 +01:00
Henrik Rydgård 9e736ca50c Workaround for sin/cos issue in GTA on Mac (and maybe others) 2023-02-07 17:43:12 +01:00
Henrik RydgårdandGitHub b3612de528 Merge pull request #16925 from unknownbrackets/ios-force-ir
iOS: Disable jit in DefaultCpuCore()
2023-02-07 09:08:22 +01:00
Unknown W. Brackets 655797a846 iOS: Disable jit in DefaultCpuCore().
This means loading game-specific inis should properly auto-disable.
2023-02-06 21:07:32 -08:00
Serena 6d474ac59d macOS bar button items 2023-02-06 22:17:27 +03:00
Henrik RydgårdandGitHub ec5afb2d8d Merge pull request #16812 from unknownbrackets/task-priority
ThreadManager: Add simple priority queues
2023-02-05 21:00:47 +01:00
Henrik Rydgård 236611ac16 Initial implementation of depth readback for Syphon Filter. Fixes the lens flares. 2023-02-04 13:54:57 +01:00
Unknown W. Brackets 2cada63087 UI: Buildfix on MSVC 2017. 2023-02-02 17:08:24 -08:00
Unknown W. Brackets d2d854b8ea Replacement: Fix JNI attach for texture save. 2023-02-02 17:08:24 -08:00
Unknown W. Brackets 88ba003f46 ThreadManager: Add a simple priority field.
Currently, not actually respected.
2023-02-02 17:08:24 -08:00
Henrik Rydgård af8e4cd36b Fixes for portrait mode. Move the haptic feedback setting where it belongs. 2023-02-02 11:59:56 +01:00
Henrik Rydgård 1a035a726a Set a reasonable default angle 2023-02-02 11:05:33 +01:00
Henrik Rydgård 59dec197d8 Add previews for more types, fix mappings. 2023-02-02 01:09:33 +01:00
Henrik Rydgård 1f51a31544 Remove the separate deadzone-skip value. 2023-02-02 01:09:30 +01:00
Henrik Rydgård 4aeb1ef703 Better math, fix tilt calibration (was entirely broken) 2023-02-02 01:01:05 +01:00
Henrik RydgårdandGitHub 738b7fc630 Merge pull request #16889 from hrydgard/tilt-improvements
Tilt improvements: Add visualizer, better defaults
2023-02-01 17:47:11 +01:00
iota97 0a6d48d108 fix restore, was not working on my machine (TM) 2023-02-01 15:53:20 +01:00
Henrik Rydgård 9e3cc66809 Tilt: Add visualizer to customize tilt dialog. Improve defaults. 2023-02-01 15:35:57 +01:00