Commit Graph
14759 Commits
Author SHA1 Message Date
Henrik Rydgård fa0fb6eee6 Rework and simplify VIRTKEY_SPEED_ANALOG 2023-03-31 11:05:33 +02:00
Henrik Rydgård ca300a4dfd More callback fixes 2023-03-31 11:05:33 +02:00
Henrik Rydgård 7dfa587fe2 Remove in/out function arguments 2023-03-31 11:05:33 +02:00
Henrik Rydgård 526b4f782d Fixes, add callback for analog virtual keys
Some fixes
2023-03-31 11:05:33 +02:00
Henrik Rydgård 8dabcaea7d Enable virtual key mappings in UpdatePSPState 2023-03-31 11:05:32 +02:00
Henrik Rydgård 38f4cc4cc9 Make reverse mapping lookup work for the simple PSP buttons. 2023-03-31 11:05:29 +02:00
Henrik RydgårdandGitHub 2814668cf5 Show a MIPS stack trace on crash screen (#17211)
* Print simple stack traces to log on crashes.

* Display stack traces on crash screen

* Show the in-function offset in the printed callstacks.

* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Henrik RydgårdandGitHub 26bf40c497 ControlMapper: Change the callbacks to be more suitable for the upcoming refactor. (#17209)
* ControlMapper: Change the callbacks to be more suitable for the upcoming refactor.

* SetAllButtons: Separate bits to set and bits to clear.

* Oops, missed committing some files somehow
2023-03-30 10:47:28 +02:00
Henrik Rydgård d00809ae53 Rename KeyDef to InputMapping and give it responsibility for Axis encoding 2023-03-29 11:59:31 +02:00
Henrik Rydgård 177a6821ee Merge branch 'serena/macos-bar-menu-items' 2023-03-28 21:54:14 +02:00
Henrik RydgårdandGitHub 98d9a9c8ca Merge pull request #16984 from fp64/vfpu-sincos
VFPU sin/cos
2023-03-28 16:36:51 +02:00
Henrik Rydgård 57362b9199 SDL: Save window position 2023-03-28 16:05:30 +02:00
Henrik Rydgård 8ebb0e9c05 Revert bad rename 2023-03-28 09:20:45 +02:00
Henrik Rydgård a4bfb83982 Some more renaming 2023-03-28 00:23:18 +02:00
Henrik Rydgård 534896d2ab ControlMapper: Allow overriding PSP button event handling through a callback. 2023-03-28 00:23:18 +02:00
Unknown W. Brackets b927592f88 virtfs: Log error when dlopen() fails. 2023-03-27 06:30:09 -07:00
Unknown W. Brackets 667ae002ca virtfs: Oops, correct Version check.
Must not have added after?
2023-03-27 06:29:09 -07:00
Unknown W. Brackets 414be98489 virtfs: Tell file plugins which shut down.
We can have multiple, so it ideally needs to deal with the latest.
2023-03-26 14:45:27 -07:00
Unknown W. Brackets 00d84695d8 headless: Rename collectEmuLog for clarity.
This is still used when running tests outside headless, so leaving in
CoreParameter.
2023-03-26 10:21:07 -07:00
Unknown W. Brackets 76ef95a841 headless: Remove printfEmuLog, simplify output. 2023-03-26 10:17:34 -07:00
Henrik Rydgård 5c36aec484 More renaming 2023-03-26 11:21:34 +02:00
Henrik Rydgård e1ff498ba3 Rename "Combo" to "Custom" in the touch key mappings.
Need the name "Combo" for the new feature from PR #17168.
2023-03-26 11:05:39 +02:00
Henrik RydgårdandGitHub acb61e4781 Merge pull request #17189 from unknownbrackets/minor-cleanup
Miscellaneous cleanup from recent changes
2023-03-26 09:44:29 +02:00
Unknown W. Brackets 2d13b40123 GPU: Rename match flags to avoid confusion. 2023-03-25 23:25:42 -07:00
Unknown W. Brackets 05c225655d GPU: Add xfer flag to ignore create vfb flags.
Save icons need CPU reads to work.
2023-03-25 23:19:21 -07:00
Unknown W. Brackets 3d4dd1ac39 Debugger: Update symbols properly on prx load. 2023-03-25 18:02:56 -07:00
Unknown W. Brackets 0ade62d264 Core: Remove Host entirely. 2023-03-25 17:47:25 -07:00
Unknown W. Brackets 4e3ec384fb headless: Use requests for debug output.
At least this is consistent and gets rid of host usage outside headless.
2023-03-25 17:34:29 -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årdandGitHub 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
SerenaandGitHub 645407fa74 Merge branch 'master' into serena/macos-bar-menu-items 2023-03-23 21:27:42 +03: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