Commit graph

10311 commits

Author SHA1 Message Date
amwatson
687edab96c [default_init.h] Add example mappings in comments 2024-01-28 14:27:16 -06:00
SachinVin
7a4854c519
shader_setup.h: Initialise program_code (#7396) 2024-01-28 06:02:40 -08:00
amwatson
9af2ba200f Add default gamepad button values 2024-01-27 19:13:39 -06:00
amwatson
b640de3826 [default_init] remove some fields that don't make sense for VR users (note: they can still be set with a config) 2024-01-27 16:33:55 -06:00
amwatson
fa3cd3e51b move any critical default values out of default_ini, into settings.h 2024-01-27 16:30:29 -06:00
amwatson
f9e6833b90 remove input defaults from the INI 2024-01-27 16:19:31 -06:00
Steveice10
d1e3dddf6a
core: Fix invalid log formatting in ARM interpreter. (#7391) 2024-01-27 00:39:27 -08:00
amwatson
636f3647f7 [Immersive mode] add a resolution offset to avoid users modifying their default settings 2024-01-26 23:51:05 -06:00
amwatson
6da5e59ce4 [Immersive mode] add a min resolution factor 2024-01-26 23:10:36 -06:00
amwatson
ceacf7b3f6 [Immersive mode] update strings to reflect that resolution can be changed by the user 2024-01-26 23:10:36 -06:00
amwatson
063402d8cb When immersive mode is enabled, override graphics API preference and use OpenGL 2024-01-26 23:10:36 -06:00
amwatson
0e44c7a5ea Added a bit to shader cache keyto differentiate immersive vs non-immersive mode so the wrong shader isn't used on settings switch 2024-01-26 23:10:33 -06:00
Charles Lombardo
265e8193b9
Merge pull request #7392 from amwatson/patch-1
[SettingsFragmentPresenter.kt] correct RESOLUTION_FACTOR key/default
2024-01-26 22:43:04 -05:00
amwatson
dbfea78252 Merge remote-tracking branch 'upstream/master' into merge_from_upstream 2024-01-26 21:05:28 -06:00
Amanda Watson
e8c20fa782
[SettingsFragmentPresenter.kt] set RESOLUTION_FACTOR preference with RESOLUTION_FACTOR setting instead of GRAPHICS_API
Currently, the RESOLUTION_FACTOR preference is being set with the GRAPHICS_API key and default. Therefore, it will set/retrieve the wrong values

This revision updates the RESOLUTION_FACTOR preference to use the RESOLUTION_FACTOR key and default value. As a result, RESOLUTION_FACTOR and GRAPHICS_API should store and return the correct (separate) values
2024-01-26 19:14:27 -06:00
Simon
db0a76f672 Implemented additional "Immersive Mode" with higher resolution
Uses a smaller radius screen which fits just within the view bounds and therefore has a higher resolution, but still feels "immersive". I also lowered the lower screen so it doesn't obscure the smaller main panel.
2024-01-26 23:52:21 +00:00
Simon
4e9afd699c Merge branch 'lubos_immersive_mode' of https://github.com/DrBeef/CitraVR into lubos_immersive_mode 2024-01-26 18:30:28 +00:00
PabloMK7
95ae46f6a8
SOC_U: Account for variable CTRSockAddr size (#7387)
* SOC_U: Account for variable CTRSockAddr size.

* Apply suggestions
2024-01-26 08:00:19 -08:00
Steveice10
41fe75acb7
renderer_vulkan: Pass physical device API version to VMA instead of instance version. (#7390) 2024-01-26 16:34:12 +02:00
Amanda Watson
55f1ad80be
Merge branch 'master' into lubos_immersive_mode 2024-01-25 16:26:19 -06:00
amwatson
5d4bb40139 lower the lower panel in immersive mode 2024-01-25 16:23:08 -06:00
Amanda Watson
92d698a1b5
Merge pull request #25 from gyroninja/remove-mic-nag
Move request for microphone permission to onCreate
2024-01-24 22:00:38 -06:00
gyro
ce640bb1f3 Move request for microphone permission to onCreate
This request can cause issues if the user denies the microphone permission.
Calling requestPermissions causes GrantPermissionsActivity to be launched.
Citra's MainActivity will pause. GrantPermissionsActivity will immediately
finish as the user has already denied the permission. Citra's MainActivity then
gets resumed and then tries to request the permission again forming a loop.
2024-01-24 19:08:24 -08:00
amwatson
b56239953a [vr] Move logging to Citra-android backend 2024-01-24 21:05:04 -06:00
amwatson
acf4e3143d lower the lower panel in immersive mode 2024-01-24 19:57:13 -06:00
amwatson
47186f0d67 updated gamesurfacelayer and settings for immersive mode (not sure yet if 5 is a special constant or based on resolution) 2024-01-24 19:57:13 -06:00
amwatson
1d92111a00 [SettingsFragmentPresenter] select OpenGL as default graphics API 2024-01-24 17:36:53 -06:00
amwatson
64e8c7ca3c Show defaults for resolution, background in settings UI 2024-01-24 17:36:21 -06:00
Tobias
1744537d85
Small improvements to Citra translations (#7379)
* dist: Remove duplicated Finnish translation

For some reason, we had Finnish listed twice on Transifex, causing it be shown twice in Citra.
It has already been deleted again from Transifex, now we only need to remove it from the repo as well.

* citra_qt/configure_ui: Show country of language in the combobox

This prevents an issue where we had seperate versions of the same language for different regions and they were not distinguishable (e.g. "Chinese (China)" and "Chinese (Taiwan)").
2024-01-24 15:17:15 -08:00
amwatson
50891ee8c2 Set resolution and default background based on HMD type 2024-01-24 17:13:53 -06:00
amwatson
1044c78069 Revert "move logging to Citra-android backend"
This reverts commit 7597481444.
2024-01-24 16:56:14 -06:00
amwatson
7597481444 move logging to Citra-android backend 2024-01-24 14:00:34 -06:00
GPUCode
bea863efff
general: Fixes for Tales of the Abyss (#7381)
* geometry_pipeline: Remove unneeded assert

* Has been hw-tested that gs works correctly even when not in exclusive mode

* pica_core: Propagate output_mask to gs

* Has been hw-tested to occur under the same conditions that other uniforms are shared

* regs_shader: Intialize GPUREG_SH_INPUTBUFFER_CONFIG to default value

* Default value verified on hw. Tales of Abyss does not update the number of vertex attributes for the geometry unit and expects it to be 2

* texture_codec: Align buffer sizes to bpp

* Prevents out of bounds texture reads when launching TOA from the HOME menu

* pica_core: Make default value more clear
2024-01-24 19:22:10 +02:00
Daniel López Guimaraes
89e13a85a7
Implement NEWS service (#7377) 2024-01-24 19:21:48 +02:00
amwatson
3dd3e253de reformat c++ code to be my preferred format (since it seems unlikely we'll merge back anytime soon 2024-01-23 21:32:15 -06:00
amwatson
6c2e2613fc [OpenXR] move hmdType from OpenXR to vr_main 2024-01-23 21:32:15 -06:00
amwatson
bde389d0bd sets citra res to auto and scales surface with resolution factor (so user directly controls graphical intensity. Might get worse filtering on smaller textures) 2024-01-23 21:32:15 -06:00
amwatson
0ffa128b1c [GameSurfaceLayer] make default scale factor dependent on HMD type 2024-01-23 21:32:15 -06:00
amwatson
a8482f20a5 add config changes to MainActivity and re-instate notification manager (I think this should fix starting crash while avoiding the resizing bug) 2024-01-23 21:32:15 -06:00
GPUCode
549fdd0736
pica_core: Propogate vertex uniforms to geometry setup when not in exclusive mode (#7367) 2024-01-24 04:47:08 +02:00
Amanda Watson
92db45eabe
Update README.md
point at new Game Compat spreadsheet
2024-01-23 19:28:49 -06:00
Amanda Watson
9174aaa040
Merge pull request #24 from NyanBlade/readme-typo
Update README.md
2024-01-23 15:41:06 -06:00
NyanBlade
28a7d44a44
Update README.md 2024-01-23 14:45:48 +00:00
amwatson
dd5041fda7 remove default dpad bindings (fixes dpad on some controllers? 2024-01-22 21:39:03 -06:00
Amanda Watson
475832612e
Merge pull request #17 from gyroninja/ignore-link-fail
Ignore failures to load openxr_forwardloader.oculus for v62+
2024-01-22 21:23:34 -06:00
gyro
1412662180 Ignore failures to load openxr_forwardloader.oculus for v62+
In v62 openxr_forwardloader.oculus.so was removed.
To keep backwards compatibility with v60 there is still an attempt to load the
library, but failure to do so is no longer fatal.
2024-01-22 18:08:16 -08:00
amwatson
e1398b60de fix for v62: do not use System.loadLibrary() for openxr loader path 2024-01-22 18:45:20 -06:00
amwatson
30320c771e (temporary fix for v62) added path to openxr fork that contains loader fix 2024-01-22 18:42:09 -06:00
amwatson
11314c295b removed openxr submodule 2024-01-22 18:42:09 -06:00
Amanda Watson
1eea79ef70
Merge pull request #18 from gyroninja/boundaryless
Make app boundaryless
2024-01-22 18:29:19 -06:00