Commit Graph

252 Commits

Author SHA1 Message Date
sonninnos 4aa8d3a818 libretro: Add autostateload unserialize crash safeguard 2024-06-05 16:36:43 +03:00
sonninnos 0b677dcfdf libretro: Logging correction 2024-06-05 16:36:38 +03:00
sonninnos 49b9319570 libretro: Revised software rendering option 2024-06-04 14:25:46 +03:00
sonninnos 55943ed95c libretro: Use SET_CONTROLLER_INFO 2024-06-03 21:48:12 +03:00
sonninnos 328c09f016 libretro: Core option reorganizing 2024-06-03 21:48:12 +03:00
sonninnos 957c4c7d74 libretro: Add CropTo16x9 core option 2024-06-03 21:48:12 +03:00
sonninnos c8b7ae817d libretro: Add video renderer core option 2024-06-03 21:48:12 +03:00
sonninnos 3d96a071bc libretro: add chd to valid extensions 2024-05-28 15:55:26 +03:00
sonninnos c3469ca1bb libretro: remove unused StereoResampler 2024-05-28 15:55:26 +03:00
sonninnos 9afc668bfa libretro: upload audio once per frame 2024-05-28 15:55:21 +03:00
Rob Loach 6763ace946 libretro: Add a local clamp() instead of using the color conv one 2024-05-24 08:38:04 -04:00
Rob Loach 41d2e4a40f libretro: Replace std::clamp() with clamp() 2024-05-23 12:51:20 -04:00
Henrik Rydgård b7321f5bbf Hook up the Smart 2D texture filtering option for retroarch 2024-05-10 13:21:06 +02:00
Henrik Rydgård 616ee81f84 Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
Henrik Rydgård 5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård 1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Henrik Rydgård bc889acfcb Libretro: The "Skip GPU readbacks" parameter was backwards, fix it 2023-12-29 13:27:59 +01:00
BEN ENGLISCH d023c9887b [libretro] Expose "Memory Stick inserted" option 2023-12-22 17:20:16 -06:00
Henrik Rydgård e62614498e Buildfix mac (name collision with NO...) 2023-12-13 16:48:07 +01:00
Henrik Rydgård caec201c4d Make "Skip GPU readbacks" a multi-choice option, for easier experimentation by users 2023-12-13 16:18:44 +01:00
sum2012 6a844dd985 Add more delay as ForceUMDDelay
Also add setting in libretro
2023-10-23 20:03:42 +08:00
Henrik Rydgård e4ea4831e9 Delete the vertex cache option from the code. 2023-10-10 15:43:43 +02:00
Henrik Rydgård 19e4de5088 Change global UI messages to use an enum instead of strings.
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård b61fa7053f RetroAchievements: Add parameter to SetGame for IdentifiedFileType, also add bool return to SaveSecret 2023-09-06 10:56:51 +02:00
Henrik Rydgård 1025bbcf89 Log level/type: Use enum class instead of the awkward namespace trick.
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00
Unknown W. Brackets 622c69dbb9 x86jit: Expose option to select new IR based jit. 2023-08-20 22:28:54 -07:00
Henrik Rydgård ff6e118fff Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically. 2023-08-14 11:02:29 +02:00
Henrik Rydgård 5a9a2bf6fe Merge pull request #17779 from EmulatorJS/master
Cleanup emscripten libretro target
2023-08-13 21:40:24 +02:00
Henrik Rydgård e651d6e59f Finish the separation of EndFrame and Present. 2023-08-13 18:40:35 +02:00
Ethan O'Brien 8426b35a80 Cleanup emscripten libretro build target 2023-08-12 14:38:35 -05:00
Henrik Rydgård 0ccd29f2ba Revert "OpenGL: Separate submit/present for this backend as well"
This reverts commit 0143d67f9b.
2023-08-12 13:35:21 +02:00
Henrik Rydgård 1ea11c233c Remove "SwapBuffers" from the GraphicsContext interface.
Buildfixes

More buildfix

headless buildfix

One more buildfix
2023-08-11 01:57:02 +02:00
Henrik Rydgård 0143d67f9b OpenGL: Separate submit/present for this backend as well 2023-08-10 17:46:10 +02:00
Henrik Rydgård 0deefb82a9 thin3d: Merge BeginFrame and SetDebugFlags (set them every frame anyway) 2023-08-10 17:15:54 +02:00
Henrik Rydgård bcae36d8cb Merge NativeUpdate and NativeRender, we always call them together. 2023-08-07 22:50:57 +02:00
Eric Warmenhoven b393d54dc7 libretro: fix fast forwarding 2023-07-11 00:43:38 -04:00
Henrik Rydgård f446312cb6 Merge pull request #17688 from warmenhoven/dev/warmenhoven/libretro-ios
libretro: use JIT on iOS if available
2023-07-10 23:11:56 +02:00
Eric Warmenhoven fdee69127a libretro: use JIT on iOS if available 2023-07-10 16:26:29 -04:00
Eric Warmenhoven 58174e9aef libretro: environ_cb returns whether it fetched the value, not the value 2023-07-10 16:12:40 -04:00
Henrik Rydgård c8fe0a47f9 Backport rcheevos build setup to libretro/Makefile.common from the rc_client branch 2023-07-03 14:43:16 +02:00
Henrik Rydgård 7cc8c6cea4 OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI). 2023-06-20 14:40:46 +02:00
Bobby Smith 2663a85cc3 [Libretro] Remove "Skip Buffer Effects" core option 2023-05-26 13:07:32 +02:00
Bobby Smith 085027b067 [Libretro] Show/hide some options depending on the renderer + remove MSAA option 2023-05-20 13:32:48 +02:00
Henrik Rydgård 12bd0ed26d Restore the shared_ptrs 2023-04-07 10:35:01 +02:00
Henrik Rydgård 1d0afd4867 libretro: Rip out the audio speed control logic, libretro should handle that internally. 2023-04-03 10:01:49 +02:00
Henrik Rydgård 335df0fc71 libretro buildfix 2023-04-01 09:08:41 +02:00
Unknown W. Brackets 76ef95a841 headless: Remove printfEmuLog, simplify output. 2023-03-26 10:17:34 -07:00
Unknown W. Brackets b8758a3cac libretro: Remove unused LibretroHost. 2023-03-25 17:12:44 -07:00
Henrik Rydgård d0669d118d Libretro buildfix 2023-03-25 11:04:56 +01:00