Commit Graph
36155 Commits
Author SHA1 Message Date
Henrik Rydgård d586ec0d5e Don't create Host objects except in headless/unittest 2023-03-25 10:47:01 +01:00
Henrik Rydgård 7d0eac730f Remove WindowsHost 2023-03-25 10:43:00 +01:00
Henrik Rydgård 143f499d11 Remove a few of the Host implementations 2023-03-25 10:37:49 +01:00
Henrik Rydgård 9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård 5e36acb9eb Remove Host::UpdateSound 2023-03-25 10:18:29 +01:00
Henrik Rydgård 67353e8f0b Merge pull request #17177 from hrydgard/libretro-avoid-double-resample
libretro: Bypass PPSSPP's resampler, since libretro already has one
2023-03-25 08:10:39 +01:00
Henrik Rydgård 0478780f67 Merge pull request #17181 from hrydgard/tales-narikiri-avoid-readback
Tales of Phantasia - Narikiri Dungeon X: Avoid some GPU readbacks.
2023-03-25 08:10:02 +01:00
Henrik Rydgård d7f1ed8576 Merge pull request #17180 from hrydgard/even-more-host-cleanup
Even more "Host" code cleanup
2023-03-25 00:02:16 +01:00
Henrik Rydgård 417f61b366 Tales of Phantasia - Narikiri Dungeon X: Avoid some GPU readbacks.
Copies to a framebuffer instead of RAM.

Confirmed through e-mail that is fixes the performance drop from #16714,
but unknown whether there are any regressions in the rest of the game.

I guess we'll find out.
2023-03-24 23:59:33 +01:00
Henrik Rydgård dcfdb30cb8 Buildfix, cleanup 2023-03-24 23:28:30 +01:00
Henrik Rydgård 677cba6e77 buildfix 2023-03-24 23:04:14 +01:00
Henrik Rydgård 7c5cc8cafd And ToggleDebugConsoleVisibility. 2023-03-24 21:43:45 +01:00
Henrik Rydgård adccc480a0 Another one bites the dust (SendUIMessage) 2023-03-24 21:39:02 +01:00
Henrik Rydgård 56c26eef4d Remove the old AsyncFileDialog thingy 2023-03-24 21:32:20 +01:00
Henrik Rydgård a73ac49d59 Move the non-working "Create desktop shortcut" stuff to the request framework 2023-03-24 20:05:48 +01:00
Henrik Rydgård e71be8af2e Remove PollControllers from host. Break out a WindowsInputManager from WindowsHost. 2023-03-24 19:57:24 +01:00
Henrik Rydgård 72ab6cd0bc libretro: Bypass PPSSPP's resampler, since libretro already has one
Hopefully, this will fix the reported bad audio performance and
behavior. Running two speed-compensating resamplers in a row can't be a good thing.
2023-03-24 18:52:41 +01:00
Henrik Rydgård 2f09d29698 Merge pull request #17178 from hrydgard/more-host-cleanup
More Host cleanup
2023-03-24 18:50:38 +01:00
Henrik Rydgård 5a5779dcd6 Remove symbol-map related functions from Host 2023-03-24 18:08:31 +01:00
Henrik Rydgård 5af92cfca0 Cleanup 2023-03-24 17:52:56 +01:00
Henrik Rydgård 1250692657 Convert host->SetWindowTitle to a request 2023-03-24 17:52:01 +01:00
Henrik Rydgård 349b73acec Move the resampler usage to a common file, AudioCommon. (#17176)
* Move the resampler usage to a common file, AudioCommon.

Ports that don't want to use the resampler can now simply exclude that
file and provide their own implementation. Next up, libretro will be
converted to do it that way.

* Android.mk typo

* libretro makefile fix

* libretro buildfix

* libretro: try a different approach for the temporary solution

* duh

* double duh
2023-03-24 17:19:57 +01:00
Henrik Rydgård b6b6066ee5 Merge pull request #17175 from hrydgard/more-audio-refactor
Some more audio refactoring
2023-03-24 15:33:09 +01:00
Henrik Rydgård 724f94f8e4 UWP buildfix 2023-03-24 15:32:48 +01:00
Henrik Rydgård e95662cebf Separate out the core interface around the resampler, in order to move it out from __sceAudio. 2023-03-24 14:48:53 +01:00
Henrik Rydgård a5fdf3d05b Add samplerate argument to NativeMix 2023-03-24 14:48:53 +01:00
Henrik Rydgård 8421c1e2a1 Move g_backgroundAudio.Play to NativeUpdate 2023-03-24 14:48:49 +01:00
Henrik Rydgård 91620e38bd Merge pull request #17174 from hrydgard/dsound-remove-update-poll
Remove polling requirement from DSound audio backend
2023-03-24 11:53:04 +01:00
Henrik Rydgård 21bd50dcb0 Remove polling requirement from DSound audio backend
Might as well sleep for a short period instead, same effect really.
2023-03-24 10:40:10 +01:00
Henrik Rydgård a6e5d59d9a Merge pull request #17172 from hrydgard/touch-dialog-close-fix
UI: Fix weird misbehavior dragging outside a popup dialog
2023-03-24 00:29:55 +01:00
Henrik Rydgård 88fe4799a5 UI: Fix weird misbehavior dragging outside a popup dialog
Fixes #17107
2023-03-24 00:11:49 +01:00
Henrik Rydgård 949a53e273 Merge pull request #17171 from lvonasek/camera_openxr_uxfix
OpenXR - Camera mode offset
2023-03-23 20:03:20 +01:00
Lubos 61eaae37f7 OpenXR - Camera mode offset 2023-03-23 19:42:08 +01:00
Henrik Rydgård 677da602fd Merge pull request #17170 from hrydgard/thrillville-depth-fix
Don't forget to call CheckDepthUsage when using imm draws.
2023-03-23 17:55:07 +01:00
Henrik Rydgård 451ee14ebc Don't forget to call CheckDepthUsage when using imm draws.
Fixes #17169
2023-03-23 17:14:12 +01:00
Henrik Rydgård c791d64280 Merge pull request #17164 from hrydgard/cheat-import-fix
Cheat import: Allow picking a file to import from
2023-03-23 14:17:40 +01:00
Henrik Rydgård 84f33d9346 Button text fix, required adding a new translation line. 2023-03-23 13:46:07 +01:00
Henrik Rydgård 4475533c0b Remove redundant translation strings 2023-03-23 10:32:27 +01:00
Henrik Rydgård f5afc91f23 Change Enable/Disable All to just a Disable All button. 2023-03-23 10:32:11 +01:00
Henrik Rydgård e21867315b Fix browsing for Cheat DB files. Easy now after the refactor! 2023-03-23 10:18:21 +01:00
Henrik Rydgård ac66deeb25 Improve cheats UX 2023-03-23 10:18:21 +01:00
Henrik Rydgård 8804c3c69f Merge pull request #17166 from unknownbrackets/headless-cleanup
headless: Avoid ugly casts
2023-03-23 07:22:32 +01:00
Unknown W. Brackets 3a9e66ab60 Build: Unrevert glslang update.
Revert unintentional rollback in 47f06355, reapplying 858675e4.
2023-03-22 22:54:24 -07:00
Unknown W. Brackets d49edad1a7 Merge pull request #17165 from fp64/mfpmath-sse
Add -mfpmath=sse to CMakeLists.txt
2023-03-22 22:53:00 -07:00
Unknown W. Brackets d8986af367 headless: Avoid ugly casts. 2023-03-22 22:51:00 -07:00
Henrik Rydgård 5855c3ebb8 Merge pull request #17163 from hrydgard/remove-more-string-messages
Remove System_SendMessage()
2023-03-23 00:44:26 +01:00
Henrik Rydgård b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård 4c99712b60 And "immersive", "audio_resetDevice" 2023-03-22 23:52:38 +01:00
Henrik Rydgård ac47476253 And share_text, toast, recreate 2023-03-22 23:52:25 +01:00
Henrik Rydgård 87d0c21f14 Make proper requests for the external hardware commands (gps, microphone, camera) 2023-03-22 23:52:25 +01:00