Commit Graph
45601 Commits
Author SHA1 Message Date
Henrik RydgårdandGitHub 320a1cfc8f Merge pull request #19325 from Nabile-Rahmani/display-refresh-rate-option
[Feature] Option to override the display refresh rate
2024-07-17 20:25:38 +02:00
Henrik RydgårdandGitHub d80bf4d5e1 Merge pull request #19304 from hrydgard/disable-alt
Allow "Alt" to act like a normal keyboard input, if it's been mapped to something
2024-07-17 20:25:13 +02:00
Henrik Rydgård 9b095a9e16 New approach: If Alt is mapped to anything, don't have it open the menu. 2024-07-17 20:09:48 +02:00
Henrik Rydgård 2ddba06312 Have "Disable Windows Keys" also disable Alt, so it can be mapped. 2024-07-17 20:02:55 +02:00
Henrik RydgårdandGitHub 5d365e262b Merge pull request #19329 from hrydgard/improve-sceutility-logging
Improve sceUtility logging, assorted cleanup
2024-07-17 17:59:48 +02:00
Henrik RydgårdandGitHub b8f05580fc Merge pull request #19334 from hrydgard/improved-provoking-vertex-fix
Improved provoking vertex fix
2024-07-17 16:54:39 +02:00
Henrik RydgårdandGitHub 5202d05c47 Merge pull request #19335 from hrydgard/miniupnp-buildfix
Apply miniupnp buildfix proposed in #19333
2024-07-17 16:54:06 +02:00
Henrik Rydgård 3cd0e18556 Apply miniupnp buildfix proposed in #19333
See #19333
2024-07-17 16:23:39 +02:00
Henrik Rydgård 7738899434 Fix triangle strip vertex order to have a consistent provoking vertex 2024-07-17 16:12:03 +02:00
Henrik Rydgård 096985f51f Provoking vertex (software transform): Simpler solution
Simply rotate each primitive in the index buffer to simulate a different provoking vertex.

Since at this point we have already generated a plain primitive index
buffer, it's easy to manipulate like this.

An even better solution would be to generate rotated index buffers
directly during decode, although that code is super critical and does
not need more complexity..

We could now also enable this for hardware transform but I'm leaving
that for later.
2024-07-17 14:40:52 +02:00
Henrik Rydgård 6b1e57a840 We never draw non-indexed in software transform mode, so get rid of the path. 2024-07-17 14:40:52 +02:00
Henrik Rydgård 665f03ff62 Add provoking vertex to caps, flip the flag around 2024-07-17 14:40:52 +02:00
Henrik Rydgård f6aa86dfee Add a comment 2024-07-17 14:40:52 +02:00
Henrik Rydgård 5921b9d041 Fix stereo MP3s as custom achievement sound effects 2024-07-17 14:37:15 +02:00
Henrik RydgårdandGitHub 434b361f45 Merge pull request #19331 from hrydgard/vk-ext-provoking-vertex
Vulkan: Use VK_EXT_provoking_vertex, when available, to get OpenGL/PSP behavior for flat shading
2024-07-17 12:09:24 +02:00
Henrik Rydgård 138193a776 Add support for the EXT_provoking_vertex Vulkan extension, allowing us to skip software transform for this case. 2024-07-17 10:41:25 +02:00
Henrik Rydgård 2a35a92514 Vulkan: Check the device features *after* the extension checks. Necessary for the next step. 2024-07-17 10:32:47 +02:00
Henrik Rydgård 9f1f75ddab Refactor: Merge the ChooseDevice function into CreateDevice 2024-07-17 10:31:49 +02:00
Henrik Rydgård bc3c57ffc0 Minor formatting issue 2024-07-16 23:35:21 +02:00
Henrik Rydgård 72180076b3 Update gradle 2024-07-16 23:35:05 +02:00
Henrik Rydgård f18715bb7c Some renaming 2024-07-16 22:04:41 +02:00
Henrik Rydgård 4582ee692a More logging changes 2024-07-16 22:04:41 +02:00
Henrik Rydgård 70cb1104dc Kirk: Remove use of uninitialized stack as a random number source
This confused Valgrind and made me think we had another memory bug.

Turns out this is NOT the cause of #13781, which I still don't
understand.
2024-07-16 22:04:41 +02:00
Henrik Rydgård cde71fc2b3 Misc cleanup 2024-07-16 22:04:41 +02:00
Henrik Rydgård f8bf0bfbb5 Add some new logging to sceUtility to try to figure out the Silent Hill problem 2024-07-16 22:04:41 +02:00
Henrik Rydgård cb9c230e4e Valgrind: Add suppression file to be able to use Valgrind on PPSSPP in WSL2 on Windows 2024-07-16 19:52:00 +02:00
Henrik RydgårdandGitHub 77f92f639a Merge pull request #19327 from Kethen/right_stick_analog
allow binding custom right stick to analog
2024-07-16 17:43:21 +02:00
Katharine ChuiandGitHub 9b9f7bdcd3 bump com.gladed.androidgitversion to fix android studio building (#19328)
fixes "Could not find com.android.tools.build:gradle:2.3.3."

ref: https://github.com/gladed/gradle-android-git-version/issues/55
2024-07-16 16:53:35 +02:00
Katharine Chui d7fd44280a allow binding custom right stick to analog 2024-07-16 16:06:13 +02:00
Henrik RydgårdandGitHub e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik RydgårdandGitHub ae3ff686f0 Merge pull request #19326 from lvonasek/feature-openxr-supersampling
OpenXR - Add FBO supersampling
2024-07-14 14:12:39 +02:00
Nabile Rahmani 730613ce67 Scale speed percentage calculation to eliminate micro deviations 2024-07-14 11:30:11 +02:00
Nabile Rahmani 9272f02ba2 Initialise framerate-related variables in __DisplayInit()
This takes into account the user configuration a frame in advance.
2024-07-14 08:21:46 +02:00
Nabile Rahmani 480b94f4d2 Fix speed percentage calculation 2024-07-14 05:10:28 +02:00
Nabile Rahmani 273f4cce31 Refresh rate: don't programmatically set configuration, detect VR instead 2024-07-14 04:47:26 +02:00
Nabile Rahmani 1aec09a056 Initialise iDisplayRefreshRate to 60.
Fixes tests as code would read an uninitialised value before the config's constructor gets to run.
2024-07-13 23:08:38 +02:00
Lubos 6894f581ab OpenXR - Add FBO supersampling 2024-07-13 22:39:00 +02:00
Nabile Rahmani 7af15c73bc [Feature] Option to override the display refresh rate
This adds a per-game graphics option, `DisplayRefreshRate`, to override the display refresh rate.

It defaults to 60 Hz, and is located in Dev tools.

Games using variable timesteps benefit from higher refresh rates.

Closes #19319
2024-07-13 15:04:20 +02:00
Henrik RydgårdandGitHub 630cae9616 Merge pull request #19314 from hrydgard/ios-app-switching-mode
Add setting to control the iOS app switching mode
2024-07-13 01:01:42 +02:00
Henrik RydgårdandGitHub b879c7bfa8 Merge pull request #19322 from lvonasek/hotfix-openxr-gamepad
OpenXR - Do not require controllers connected
2024-07-12 23:55:57 +02:00
Luboš VandGitHub e45059455f OpenXR - Do not require controllers connected 2024-07-12 12:47:42 +02:00
Henrik RydgårdandGitHub bcdeadd865 Merge pull request #19320 from Narugakuruga/patch-34
Optimize Chinese translation
2024-07-10 14:45:21 +02:00
NarugakurugaandGitHub 89e461df50 Update zh_CN.ini 2024-07-10 20:13:43 +08:00
NarugakurugaandGitHub 37a6ee43b7 Update zh_CN.ini 2024-07-10 19:48:16 +08:00
NarugakurugaandGitHub 9c417d64d3 Update zh_CN.ini 2024-07-10 19:39:19 +08:00
NarugakurugaandGitHub 7bb67b3e1e Optimize Chinese translation 2024-07-10 19:22:27 +08:00
Henrik RydgårdandGitHub 80baaa5fc4 Merge pull request #19316 from eveninglatte/master
Updated Polish translation & fixed strings not being translated properly
2024-07-08 21:49:29 +02:00
eveninglatte 00e4dcd43a Fixed some strings not being translated properly
Also changed all occurences of "Smart 2D Texture Filtering" to be lowercase except for the first word
2024-07-07 14:49:47 +02:00
eveninglatteandGitHub 91dc7d8343 Updated Polish translation 2024-07-06 22:38:17 +02:00
Henrik Rydgård 63d688f322 Add new translation strings 2024-07-05 20:09:49 +02:00