Commit Graph

3410 Commits

Author SHA1 Message Date
Unknown W. Brackets
956d80b93e UI: Minor cleanup. 2023-04-09 22:39:29 -07:00
Henrik Rydgård
d26700820c Minor buildfix/cleanup 2023-04-09 22:47:34 +02:00
ahmedmoselhi
5506b7fd08
fix build error: "unknown type name uint32_t" 2023-04-09 20:48:58 +02:00
Henrik Rydgård
f376f3cb5f Another piece of the fix for #17250 (opensuse build error) 2023-04-09 16:57:39 +02:00
Henrik Rydgård
42efc08e64 Couple buildfixes after the g_display refactoring
Should help #17250
2023-04-08 09:25:16 +02:00
Henrik Rydgård
12bd0ed26d Restore the shared_ptrs 2023-04-07 10:35:01 +02:00
Henrik Rydgård
0ae2c79584 Buildfix 2023-04-07 10:35:01 +02:00
Henrik Rydgård
019a9e2923 MacOS build fixes 2023-04-07 10:35:01 +02:00
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
6f9339b011 Add defaults for all int-slider settings too 2023-04-05 10:50:53 +02:00
Henrik Rydgård
4e0babc950 Add a "reset to default" for all float-slider settings
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.

Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +02:00
Andreas Stieger
822592c6b1 Fix build with GCC13: various standard includes 2023-04-05 00:20:14 +02:00
Henrik Rydgård
d996fb74d4 MSVC: Set language standard to c++17.
Noticed that we were getting some new warnings after merging the
constexpr stuff.
2023-04-02 17:55:15 +02:00
Henrik Rydgård
9ae1e10a1b Texture upload: Correct the initial barrier before upload.
Validation caught some weirdness here.

Might possibly help #14774 ?
2023-04-01 23:48:24 +02:00
Henrik Rydgård
885415949e Vulkan: Fix ordering of debug labels, fixing a new validation error. 2023-04-01 23:29:30 +02:00
Henrik Rydgård
47785aa2bb
Merge pull request #17215 from hrydgard/multi-mapping-input
Control map multiple keys to one output
2023-04-01 20:47:45 +02:00
Lubos
de462f481f OpenXR - Disable stereo in Motorstorm 2023-04-01 19:48:53 +02:00
Lubos
b59a0728f6 OpenXR - Stereo separation only when enabled 2023-04-01 19:10:18 +02:00
Lubos
e7bbe322cd OpenXR - Stereoscopy math better 2023-04-01 18:58:46 +02:00
Lubos
5addc77258 OpenXR - Invalid operation removed 2023-04-01 18:05:18 +02:00
Henrik Rydgård
5a82e58564 Buildfix 2023-04-01 17:59:37 +02:00
Henrik Rydgård
49a2c93b66 Make multi-mapping save-able, add test to verify backwards and forwards compat 2023-04-01 13:51:00 +02:00
Henrik Rydgård
0e1c42ce70 Plumb multimappings all the way through. 2023-04-01 13:50:57 +02:00
Henrik Rydgård
f178d1bd85 Add an even cheaper version of TinySet called FixedTinyVec that's, well, fixed. 2023-04-01 12:01:27 +02:00
Henrik Rydgård
2428051f17 buildfix 2023-03-31 20:35:22 +02:00
Henrik Rydgård
48993f4f4b Control: Add debug display, do assorted fixes. 2023-03-31 20:12:48 +02:00
Henrik Rydgård
778d9ac5ca Handle mapping signed axis to our only unsigned input, VIRTKEY_SPEED_ANALOG. 2023-03-31 11:05:33 +02:00
Henrik Rydgård
38f4cc4cc9 Make reverse mapping lookup work for the simple PSP buttons. 2023-03-31 11:05:29 +02:00
Henrik Rydgård
416c09034b Minor header cleanup 2023-03-29 12:03:03 +02:00
Henrik Rydgård
d00809ae53 Rename KeyDef to InputMapping and give it responsibility for Axis encoding 2023-03-29 11:59:31 +02:00
Henrik Rydgård
57362b9199 SDL: Save window position 2023-03-28 16:05:30 +02:00
Henrik Rydgård
534896d2ab ControlMapper: Allow overriding PSP button event handling through a callback. 2023-03-28 00:23:18 +02:00
Unknown W. Brackets
76ef95a841 headless: Remove printfEmuLog, simplify output. 2023-03-26 10:17:34 -07:00
Unknown W. Brackets
0ade62d264 Core: Remove Host entirely. 2023-03-25 17:47:25 -07:00
Unknown W. Brackets
4e3ec384fb headless: Use requests for debug output.
At least this is consistent and gets rid of host usage outside headless.
2023-03-25 17:34:29 -07:00
Unknown W. Brackets
09c7898cb2 Common: Reduce logging of system requests. 2023-03-25 17:12:44 -07:00
Unknown W. Brackets
d621bbd73d Common: Avoid buildup of blank callbacks. 2023-03-25 17:12:44 -07:00
Henrik Rydgård
b13c5c2d1b Add compat setting to force using maximum depth resolution
Fixes #17014

Even if our depth-testing-equal heuristic believes that the game needs
lower depth resolution.

This removes some depth-fighting artifacts (that are present on the real
PSP, but nice to avoid) in Outrun, Split/Second and Cars: Race-o-Rama -
essentially reverting these to the behavior we had before the heuristic.

(The heuristic is good though - it means less compat.ini hacks going in
the other direction).

In the case of Outrun, this relies on two passes that pass exactly the
same vertex coordinates twice resulting in the exact same final
geometry. This is actually guaranteed by the spec if the vertex math is
exactly the same and "invariant" is set on the position output, though
I guess you never know.. Haven't seen any issues at least.

Also sneak in disabling some validation messages from using extra Vulkan
validation layers other than the default.
2023-03-26 00:27:58 +01:00
Henrik Rydgård
221d2f7eb5 RequestManager: Add a separate callback for failures. Separate because we usually don't need it, except Osk. 2023-03-25 18:49:23 +01:00
Henrik Rydgård
9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård
7c5cc8cafd And ToggleDebugConsoleVisibility. 2023-03-24 21:43:45 +01:00
Henrik Rydgård
adccc480a0 Another one bites the dust (SendUIMessage) 2023-03-24 21:39:02 +01:00
Henrik Rydgård
a73ac49d59 Move the non-working "Create desktop shortcut" stuff to the request framework 2023-03-24 20:05:48 +01:00
Henrik Rydgård
e71be8af2e Remove PollControllers from host. Break out a WindowsInputManager from WindowsHost. 2023-03-24 19:57:24 +01:00
Henrik Rydgård
5a5779dcd6 Remove symbol-map related functions from Host 2023-03-24 18:08:31 +01:00
Henrik Rydgård
1250692657 Convert host->SetWindowTitle to a request 2023-03-24 17:52:01 +01:00
Henrik Rydgård
349b73acec
Move the resampler usage to a common file, AudioCommon. (#17176)
* Move the resampler usage to a common file, AudioCommon.

Ports that don't want to use the resampler can now simply exclude that
file and provide their own implementation. Next up, libretro will be
converted to do it that way.

* Android.mk typo

* libretro makefile fix

* libretro buildfix

* libretro: try a different approach for the temporary solution

* duh

* double duh
2023-03-24 17:19:57 +01:00
Henrik Rydgård
a5fdf3d05b Add samplerate argument to NativeMix 2023-03-24 14:48:53 +01:00
Henrik Rydgård
88fe4799a5 UI: Fix weird misbehavior dragging outside a popup dialog
Fixes #17107
2023-03-24 00:11:49 +01:00
Lubos
61eaae37f7 OpenXR - Camera mode offset 2023-03-23 19:42:08 +01:00