Commit Graph

30035 Commits

Author SHA1 Message Date
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
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
Henrik Rydgård
f7bf15ac4f
Merge pull request #14589 from stuken/14572_fix
Fix black screen on multiple libretro content loads.
2021-07-08 16:48:19 +02:00
Stuart Kenny
96454fcbb6 Revert removal of Teardown call
As per review recommendation.
2021-07-08 15:39:51 +01:00
Stuart Kenny
02a24cdb7d Fix black screen on multiple libretro content loads.
Moves ThreadPool teardown to retro_unload_game. Gives ThreadPool threads some breathing room to terminate before game load starts spamming it with tasks.
2021-07-08 08:34:48 +01:00
Henrik Rydgård
752fdc9d4d
Merge pull request #14587 from hrydgard/memarena-error-checking
Somewhat improved error checking in MemArena.
2021-07-07 21:15:56 +02:00
Henrik Rydgård
43c16f1ea2
Merge pull request #14588 from hrydgard/vk-correct-565-format
Vulkan: Use the mandatory-support RGB565 format and not the opposite one.
2021-07-07 21:15:47 +02:00
Henrik Rydgård
9a2e220e0d Vulkan: Use the mandatory-support RGB565 format and not the opposite one.
Had apparently misread the spec.

Fixes validation (and probably rendering) errors on Linux/Intel.

https://www.khronos.org/registry/vulkan/specs/1.2/html/chap33.html#features-required-format-support
2021-07-07 19:07:29 +02:00
Henrik Rydgård
6c51dabe9a Somewhat improved error checking in MemArena. 2021-07-07 19:01:42 +02:00
Henrik Rydgård
25cfb92a9c Merge branch 'gyf304-master' 2021-07-05 12:39:10 +02:00
Henrik Rydgård
6e76a22461 Avoid crash on early input events.
Not elegant, really should use a mutex or something...
2021-07-05 12:38:46 +02:00
Yifan Gu
633a6f612b Refactor and unify analog input settings 2021-07-05 12:38:46 +02:00
Henrik Rydgård
c96692fd2e
Merge pull request #14585 from nassau-tk/jpn0.pgf-fix
Fix some Japanese characters position.
2021-07-04 10:14:32 +02:00
nassau-tk
082bf0d67c Fix some Japanese characters position. 2021-07-04 09:47:59 +09:00
Henrik Rydgård
8aa78a8ef4
Merge pull request #14577 from bslenul/fft-libretro-fix
[Libretro] Fix analog left direction for FFT
2021-07-01 12:49:41 +02:00
bslenul
9539fb2ea0 [Libretro] Fix analog left direction for FFT 2021-07-01 12:18:57 +02:00
AdamN
6867613ef6
Merge pull request #14107 from MojoJojoDojo/master
[Adhoc] Replace the link to the Ad-hoc forums in Networking options to a PPSSPP Github Wiki page link
2021-07-01 15:08:32 +07:00