Commit Graph
47140 Commits
Author SHA1 Message Date
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
Pierce Andjelkovic b03b72bf6c Merge branch 'hrydgard:master' into master 2021-07-08 15:42:33 +10: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
Pierce Andjelkovic 77e578bbb8 Re-target to merged upstream changes 2021-07-01 12:01:18 +10:00
Pierce Andjelkovic f64a6a72a5 Merge branch 'hrydgard:master' into master 2021-07-01 10:27:42 +10:00
Pierce Andjelkovic 15cdea8650 Swap submodule repo to fork 2021-06-29 22:01:30 +10:00
Pierce Andjelkovic 549ad024e4 Include FakeJit in RISC-V build 2021-06-29 21:46:17 +10:00
Henrik Rydgård ff2a6eeda2 Merge pull request #14539 from nassau-tk/fix-jpn0.pgf
Fix some Japanese characters position.
2021-06-27 23:09:29 +02:00
Unknown W. Brackets bca0f3979c Merge pull request #14567 from CookiePLMonster/fix-uwp-views-crash
UWP: Add a missing bounds check from  TextDrawerWin32::DrawStringBitmap
2021-06-27 09:48:52 -07:00
Silent c4572afdb1 UWP: Add a missing bounds check from TextDrawerWin32::DrawStringBitmap
Fixes a crash on switching tabs
2021-06-27 17:55:42 +02:00
Henrik Rydgård bb38cf842b Merge pull request #14562 from ANR2ME/adhoc_discover
[AdhocDiscover] Updated Logs on sceNetAdhocDiscover to find more info on games that use AdhocDiscover.
2021-06-25 11:42:42 +02:00