Commit graph

30150 commits

Author SHA1 Message Date
Henrik Rydgård
852e0c6979
Merge pull request #14608 from hrydgard/android-file-sort-fix
Sort file listings from Android Content URIs.
2021-07-12 20:44:20 +02:00
Henrik Rydgård
59e2d3556f Sort file listings from Android Content URIs. May help #14607 2021-07-12 15:10:29 +02:00
Henrik Rydgård
b5b7d4cd07 Update assets/lang 2021-07-12 15:10:29 +02:00
Henrik Rydgård
34ef6c6a42
Merge pull request #14606 from hrydgard/store-bug-fix
Fix bug in homebrew store with files with "." in their names.
2021-07-12 14:49:23 +02:00
Henrik Rydgård
bd15ae4f75 Fix bug in homebrew store with files with "." in their names.
Also, move the homebrew store button to the top bar instead of the
bottom of the list.
2021-07-12 11:55:15 +02:00
Henrik Rydgård
eb0f0d39ba
Merge pull request #14605 from hrydgard/more-lenient-slow-warning
Make the "Running Slow" warning a bit more lenient.
2021-07-11 11:27:51 +02:00
Henrik Rydgård
deee9f9720 Unify the Vulkan format definitions / swizzles
To make the next attempt at #14602 easier.
2021-07-11 11:26:40 +02:00
Henrik Rydgård
5859596b95 Make the "Running Slow" warning a bit more lenient.
Might help #12024, or at least the annoying unnecessary warning.

Our audio mixer is able to cover for 97% speed by stretching the sound
anyway, so I think there's not much point in a visually loud warning
until it drops below that.
2021-07-11 11:09:05 +02:00
Henrik Rydgård
26d3dd166a
Merge pull request #14600 from hrydgard/path-browser-async-read
Path browser: Read all types of listing on background thread, not just HTTP
2021-07-11 10:48:12 +02:00
Henrik Rydgård
57b4cd394a Merge branch 'iota97-touch-function-buttons' 2021-07-11 10:03:07 +02:00
Henrik Rydgård
079280572a Update UI atlas 2021-07-11 10:02:43 +02:00
iota97
498878267a Customizable touch control (rebased with label) 2021-07-11 09:55:25 +02:00
Henrik Rydgård
4423e44b24
Merge pull request #14603 from hrydgard/vk-texture-format-workaround
Vulkan: Turn off all 16-bit formats if B5G6R5 format is not available.
2021-07-11 08:06:07 +02:00
Henrik Rydgård
3595e092c9 Turn off all 16-bit formats if B5G6R5 format is not available.
Works around #14602 for now.
2021-07-10 23:33:46 +02:00
Sorer
8d610a69a9
Change the default port offset (#14599)
* change the default port offset

* No longer default for PSP

* Revert "No longer default for PSP"

This reverts commit e295adf5ef.
2021-07-10 20:06:26 +02:00
Henrik Rydgård
7e048dbbff Revert "Merge pull request #14588 from hrydgard/vk-correct-565-format"
This reverts commit 43c16f1ea2, reversing
changes made to 25cfb92a9c.
2021-07-10 20:01:16 +02:00
Henrik Rydgård
95dc7bb185 Minor cleanup 2021-07-10 20:00:50 +02:00
Henrik Rydgård
0a4da48978 PathBrowser: Load all types of path asynchronously. Helps with slow scoped storage listings :/ 2021-07-10 11:54:03 +02:00
Henrik Rydgård
a0bae1855f Path browser: Move special handling of Windows root directory to GetFilesInDir. 2021-07-10 11:47:03 +02:00
Henrik Rydgård
623cc99145 Minor cleanup 2021-07-10 11:42:33 +02:00
Henrik Rydgård
e4c39703a6
Merge pull request #14597 from hrydgard/wasapi-fixes
WASAPI: Survive switching to a mono device.
2021-07-10 10:59:40 +02:00
Henrik Rydgård
cc173acc82 UWP buildfix 2021-07-10 10:59:25 +02:00
Henrik Rydgård
720d115b86
Merge pull request #14598 from MrChip53/change-default-adhoc-server
Change default adhoc server
2021-07-10 10:43:18 +02:00
Chris Simoni
3071f3d9be
Reorder servers in GameSettingsScreen.cpp 2021-07-09 21:15:30 -05:00
Chris Simoni
4a87c92f83
Change default server in Config.cpp 2021-07-09 21:14:22 -05:00
Henrik Rydgård
828036f87b WASAPI: Survive switching to a mono device. Fixes #14591
It's a little flaky whether it tries to switch or not, but you can at
least use Windows' device selector to switch back and forth.

Should maybe also add an option to not follow the default device... Not
sure.
2021-07-10 01:22:34 +02:00
Henrik Rydgård
1f16edd575
Merge pull request #14042 from hrydgard/depth-texturing-gl
Implement basic depth texturing for OpenGL
2021-07-09 22:50:50 +02:00
Henrik Rydgård
90460df9b5 HLSL depal simplification 2021-07-09 21:09:44 +02:00
Henrik Rydgård
4c9b5ada0f Address feedback 2021-07-09 21:09:44 +02:00
Henrik Rydgård
cde3889866 Android buildfix 2021-07-09 21:09:44 +02:00
Henrik Rydgård
4e8ffae024 Implement basic depth texturing for OpenGL, requires depth clamp for now.
Need to figure out what to do about other Z mappings.

Helps #6411 for OpenGL on desktop primarily, and certain other games affected by #13256
are likely working too like the fog in Harry Potter.
2021-07-09 21:09:44 +02:00
Henrik Rydgård
df6abe83a3 Support depth clamping in OpenGL where available.
Should make support for depth texturing quite easy.

Unfortunately, this extension does not exist on OpenGL ES. There we'll
have to use ugly tricks with gl_FragDepth if we want this.
2021-07-09 21:09:44 +02:00
Henrik Rydgård
5bd9e93196
Merge pull request #14596 from hrydgard/analog-setup-screen
Replace the "Test Analogs" screen with a new screen that lets you directly try the settings.
2021-07-09 19:30:45 +02:00
Henrik Rydgård
d4c5ba990b Minor tweaks 2021-07-09 19:17:41 +02:00
Henrik Rydgård
ca408ba369 Change some names, add scroll view for analog settings 2021-07-09 17:25:00 +02:00
Henrik Rydgård
7707b03b6d Analog calibration: Tweak defaults, add reset buttton 2021-07-09 17:18:15 +02:00
Henrik Rydgård
a8ffe15843 Move the raw input data display to the touchscreen tester. Put the output to the left next to the controls. 2021-07-09 17:05:20 +02:00
Henrik Rydgård
ef51097f06 Move auto-rotation code to ControlMapper so it can be checked using the new screen 2021-07-09 16:14:51 +02:00
Henrik Rydgård
038a579f8d Move the setting up a bit 2021-07-09 13:16:38 +02:00
Henrik Rydgård
69f96705cb
Merge pull request #14594 from hrydgard/control-refactor-2
More control refactoring
2021-07-09 13:14:50 +02:00
Henrik Rydgård
2303926e88 Replace the "Test Analogs" screen with a new screen that lets you directly try the settings. 2021-07-09 13:10:16 +02:00
Henrik Rydgård
42f7ab7341 Hide the calls to ConvertAnalogStick inside ControlMapper. 2021-07-09 11:01:56 +02:00
Henrik Rydgård
fac4c2a90b Move the internal screen rotation compensation to after value mapping. 2021-07-09 10:52:48 +02:00
Henrik Rydgård
cd8cfcfcd7 Merge __CtrlSetAnalogX/Y into one function. Always called together. 2021-07-09 10:41:26 +02:00
Henrik Rydgård
7eaa687140 Move the joystick deadzone processing until after all the mapping. 2021-07-09 00:07:55 +02:00
Henrik Rydgård
c3c7eef6af Avoid a name collision from previous commit, to be safe. 2021-07-09 00:05:47 +02:00
Henrik Rydgård
26f69d578a
Merge pull request #14592 from hrydgard/control-refactor
Break out EmuScreen's key/axis inputs to ControlMapper.cpp/h
2021-07-08 23:40:43 +02:00
Henrik Rydgård
a2e814f29a Buildfix 2021-07-08 22:39:17 +02:00
Henrik Rydgård
98372c465f Break out EmuScreen's key/axis inputs to ControlMapper.cpp/h
Additionally, break out the analog stick mapping to the same file.

This will make more sense soon when I change where the analog mapping
is called from, but want this refactor in separately for testing.
2021-07-08 22:24:00 +02:00
Yifan Gu
dea13f7197
Disable analog stick deduplication (#14590)
* Refactor and unify analog input settings

* Disable analog stick deduplication
2021-07-08 17:47:38 +02:00