Commit Graph
11867 Commits
Author SHA1 Message Date
Unknown W. Brackets 3d4dd1ac39 Debugger: Update symbols properly on prx load. 2023-03-25 18:02:56 -07:00
Henrik Rydgård b13c5c2d1b Add compat setting to force using maximum depth resolution
Fixes #17014

Even if our depth-testing-equal heuristic believes that the game needs
lower depth resolution.

This removes some depth-fighting artifacts (that are present on the real
PSP, but nice to avoid) in Outrun, Split/Second and Cars: Race-o-Rama -
essentially reverting these to the behavior we had before the heuristic.

(The heuristic is good though - it means less compat.ini hacks going in
the other direction).

In the case of Outrun, this relies on two passes that pass exactly the
same vertex coordinates twice resulting in the exact same final
geometry. This is actually guaranteed by the spec if the vertex math is
exactly the same and "invariant" is set on the position output, though
I guess you never know.. Haven't seen any issues at least.

Also sneak in disabling some validation messages from using extra Vulkan
validation layers other than the default.
2023-03-26 00:27:58 +01:00
Henrik Rydgård 221d2f7eb5 RequestManager: Add a separate callback for failures. Separate because we usually don't need it, except Osk. 2023-03-25 18:49:23 +01:00
Henrik Rydgård 9cf7870ffa host nullchecks 2023-03-25 11:06:47 +01:00
Henrik Rydgård d586ec0d5e Don't create Host objects except in headless/unittest 2023-03-25 10:47:01 +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 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 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 5a5779dcd6 Remove symbol-map related functions from Host 2023-03-24 18:08:31 +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 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 b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +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
fp64 3409dba557 Merge branch 'master' into rtc-fix 2023-03-22 02:11:25 -04:00
Henrik Rydgård de064e210e Replace the inputbox queue with a more generic RequestManager. 2023-03-22 12:41:11 +01:00
fp64 0584c6f414 Fix RTC failures in autotests on 32 bit
Also simplifies code. Note: some uses of (potentially 32-bit) time_t
are still left.
2023-03-22 01:50:50 -04:00
Henrik Rydgård 47f063550a Remove InitGraphics/ShutdownGraphics from Host, except for headless 2023-03-21 22:47:20 +01:00
Henrik Rydgård 2786786c9f Avoid Host in Windows graphics init 2023-03-21 14:07:27 +01:00
Henrik Rydgård f5472ba0d8 Cleanup up unnecessary audio init functions 2023-03-21 13:39:02 +01:00
Henrik Rydgård 5fae4f36db Move SkipUI function 2023-03-21 13:39:02 +01:00
Henrik Rydgård f60f5ccaea Move SetDebugMode notification 2023-03-21 13:39:00 +01:00
Henrik Rydgård fc1732cc22 Move NotifySwitchUMDUpdated 2023-03-21 13:37:19 +01:00
Henrik Rydgård c92a4acb40 Move NotifySymbolMapUpdated to System_Notify 2023-03-21 13:37:19 +01:00
Henrik Rydgård dda8635c89 Move three notifications out of Host 2023-03-21 13:37:19 +01:00
Henrik Rydgård 06fcc9ccd7 Add System_Notify 2023-03-21 13:37:16 +01:00
Henrik Rydgård ac5855cdf8 Remove CanCreateShortcut function 2023-03-21 12:23:01 +01:00
Henrik Rydgård d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård 99c11901f2 Merge pull request #17130 from unknownbrackets/leak-minor
Minor leak fix
2023-03-18 16:58:58 +01:00
Unknown W. Brackets 5b0748a61c Merge pull request #17137 from hrydgard/log-fixes
Log fixes
2023-03-17 18:51:47 -07:00
Henrik Rydgård df41a5cebd Improve default ini, logging fixes 2023-03-17 13:59:57 +01:00
Henrik Rydgård 66d2fb2aa4 Reduce logspam from fonts, and a less angry error message for missing textures.zip. 2023-03-16 23:12:46 +01:00
Unknown W. Brackets 3fcecfa5ec Atrac: Ensure codecCtx doesn't leak.
Although, I don't think we're reallocating it.
2023-03-15 22:03:21 -07:00
Unknown W. Brackets d97790e28e irjit: Fix vi2us/vi2s with non-consecutive.
Vec2ClampToZero and similar assume consecutive.
2023-03-15 21:30:35 -07:00
Lubos 983f8176dd OpenXR - Enable user to switch between topdown and fps camera 2023-03-12 14:41:17 +01:00
Henrik Rydgård cb10862510 Move texture replacer to GPU/Common.
Add new files ReplacedTexture.cpp/h too.
2023-03-09 21:11:53 +01:00
Henrik Rydgård 8e02f14276 Remove hidden option ReplaceTextureAllowLate
Don't want to have to test little-used paths like this.
2023-03-09 15:39:46 +01:00
Henrik Rydgård b253225815 Fix another replacer lifecycle issue, causing unnecessary texture invalidation. 2023-03-09 15:03:17 +01:00
Henrik Rydgård 38f34fb487 Merge pull request #17079 from lvonasek/review_openxr
OpenXR - Vertical HMD rotation to keys removed
2023-03-09 13:18:08 +01:00
Lubos b1f41c44fe OpenXR - Vertical HMD rotation to keys cleanup 2023-03-09 11:22:54 +01:00
Henrik Rydgård 092bbf5eaa Fix saving of textures 2023-03-09 10:51:15 +01:00
Henrik Rydgård 03df5b7831 Fix fileref memory leak 2023-03-09 00:33:37 +01:00
Henrik Rydgård ef14f28099 Fix logspam 2023-03-09 00:26:45 +01:00
Henrik Rydgård 4752e20ad4 Don't reuse the ReplacedTexture struct in "saved cache". 2023-03-09 00:24:30 +01:00
Henrik Rydgård bda09be109 Texture color format doesn't belong as a per-level property, that's not supported.
All levels of a texture must have the same format.
2023-03-09 00:10:46 +01:00
Henrik Rydgård 4ba2001479 Replacer: Make the cache data model texture-centric instead of level-centric 2023-03-09 00:10:46 +01:00