Commit graph

1101 commits

Author SHA1 Message Date
Henrik Rydgård
3d5526a175 Allow specifying the VFS when loading INI files.
Will be useful in the tex replacer.
2023-03-07 10:04:10 +01:00
Unknown W. Brackets
d47e46dbb4 iOS: Allow jit to be re-enabled. 2023-03-04 21:57:04 -08:00
Unknown W. Brackets
f199a0fee3 UI: Forget jit override on user selection. 2023-02-28 06:58:30 -08:00
Unknown W. Brackets
891cc49beb iOS: Allow saving interp when jit was selected. 2023-02-28 06:57:47 -08:00
Henrik Rydgård
64e80423a6 Simplify the tilt code, tweak a bit 2023-02-16 11:07:57 +01:00
Serena
c64aa9d19a address concerns 2023-02-14 19:11:32 +03: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
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
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
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å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ård
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
Henrik Rydgård
1f3779d8a6 Don't delete the ini in order to restore defaults, instead just iterate. 2023-02-01 11:01:48 +01:00
Henrik Rydgård
fc1385b98e Remove the "terminator" ConfigSettings 2023-02-01 10:45:03 +01:00
Henrik Rydgård
910b4cef4d Add RestoreToDefault to ConfigSetting 2023-02-01 10:38:24 +01:00
Henrik Rydgård
fdbcd74e04 Constify the ConfigSetting structs, they are just metadata really. 2023-02-01 10:27:15 +01:00
Henrik Rydgård
b9d3bf0c7d Make ConfigSetting::Get() const 2023-02-01 10:19:33 +01:00
Henrik Rydgård
c554f4e2b6 Allow restoring only settings, recents or controls to defaults.
Fixes #16381 , though could make even more granular later.

The only translation change was deleting one sentence from a longer
string - used Google Translate to assist me in removing the correct part
for a few of them, most were obvious. Hope they're all right.
2023-01-31 18:56:18 +01:00
Henrik Rydgård
0f52954eae Minor log cleanups 2023-01-30 14:38:05 +01:00
Henrik Rydgård
f7d9f6d0e8
Merge pull request #16857 from lvonasek/feature_openxr_gamecamera
OpenXR - Control game camera using head rotation
2023-01-29 00:21:28 +01:00
Lubos
f0bfb3f373 OpenXR - Head control mapping when game smoothes camera movement (MH3) 2023-01-28 21:45:29 +01:00
Lubos
7d1b50d6f9 OpenXR - Combine game and VR camera rotation 2023-01-28 18:36:29 +01:00
Lubos
eadaf34d13 OpenXR - Prepare configs for ingame camera control 2023-01-28 10:33:51 +01:00
Serena
ca154879f0 Make changes requested by hygdrad 2023-01-27 18:16:50 +03:00
iota97
5ebf683589 Allow to append some configs 2023-01-12 15:39:51 +01:00
Henrik Rydgård
ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård
b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Henrik Rydgård
916404f0e4 Try to get a bit better at detaching threads that have used JNI from the VM. 2023-01-05 08:38:49 +01:00
Unknown W. Brackets
2b3071412e Config: Cleanup a few more settings commonly. 2022-12-17 09:03:07 -08:00
Unknown W. Brackets
4404b3a5f2 Config: Force jit off with game-specific configs. 2022-12-17 09:03:07 -08:00
Unknown W. Brackets
5c9a38d50c Config: Cleanup Path usage for ini file load/save. 2022-12-17 09:03:07 -08:00
Henrik Rydgård
3053f763f6 Add setting for transparent UI background
Fixes #16593
2022-12-16 09:15:08 +01:00
Henrik Rydgård
8986f92db8
Merge pull request #16573 from hrydgard/geometry-shader-default-off
Disable geometry shader culling by default
2022-12-14 10:49:19 +01:00
Unknown W. Brackets
2168188cb8 Config: Remove unused values. 2022-12-13 18:24:59 -08:00
Henrik Rydgård
69819852d4 Disable geometry shader culling by default
Geometry shaders allow us to fix some clipping and culling issues in a
neat way on Mali and other platforms that don't support cull/clip
planes, plus allow us to take care of some esoteric edge cases
(triangle inversion), but unfortunately, at least on my Galaxy S20 with
32.1 drivers, they're just incredibly slow to compile. Around 100ms per
shader, which leads to multi-second stutters on first run in Wipeout for
example.

Until we can either reduce the number of shaders drastically, or we find
a driver version that's faster at compiling that we can cut this off at,
let's not default to them on. They are still available for use, and I'll
put something on the website to explain the issue...
2022-12-13 23:10:32 +01:00
Unknown W. Brackets
fe470c790e Postshader: Reset ini keys for defaults.
Should fix the Vignette shader defaults, see #16562.
2022-12-12 19:11:20 -08:00
Henrik Rydgård
af59bc161b
Merge pull request #16488 from lvonasek/config_openxr_update
OpenXR - Fixes for release candidate
2022-12-11 13:37:09 +01:00
Lubos
58ad49b79c OpenXR - Default color correction adjusted 2022-12-11 12:35:52 +01:00
Unknown W. Brackets
a7b7bf7826 Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Lubos
c2d6e05dd1 OpenXR - Default UI saturation adjusted 2022-12-10 21:57:02 +01:00
Lubos
13ca232fc0 Merge branch 'master' into config_openxr_update 2022-12-07 21:56:55 +01:00
Lubos
0aeb207428 OpenXR - Separate config for VR build 2022-12-07 21:40:13 +01:00
Henrik Rydgård
dd22ec6fa7 Show the name of the chosen language on the choice button. Looks weird not to. 2022-12-05 12:10:45 +01:00