Commit Graph

450 Commits

Author SHA1 Message Date
Henrik Rydgård
6ae9d42516 Preparations for reworking the memstick folder move functionality 2024-01-22 15:56:07 +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
9555563ad2 Update rcheevos yet again 2024-01-18 00:20:37 +01:00
Henrik Rydgård
0caebbfaa6 Add a way to pass out error messages from VulkanLoad 2024-01-15 11:22:33 +01:00
Florin9doi
cad232e60e sceSircs/Infrared support on Android 2024-01-12 20:29:53 +02: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
2c795e701f Update rcheevos again. This time there are some files moving around. 2023-10-14 23:23:48 +02:00
Henrik Rydgård
e4ea4831e9 Delete the vertex cache option from the code. 2023-10-10 15:43:43 +02:00
Henrik Rydgård
34fbbf2c2a Split out the descriptorset pool from VulkanMemory.cpp/h 2023-10-08 11:45:00 +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
1f53d8a9a2 Hook up libchdr to CMakeLists.txt, Android.mk fix 2023-09-29 10:16:47 +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
Unknown W. Brackets
1b756ff8c1 arm64jit: Add initial base for IR jit.
This works, but very slowly at this point.
2023-09-03 12:14:28 -07: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
4e3f3860f9 x86jit: Stub out op categories to files. 2023-08-20 22:28:54 -07: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
5959481a3e libretro D3D11: Attempt at fixing a build error 2023-08-15 00:30:36 +02: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
Unknown W. Brackets
87668a5720
Merge pull request #17902 from hrydgard/ui-bugfixes
Some debug overlays don't make sense when not in-game, disable them
2023-08-13 13:13:16 -07:00
Henrik Rydgård
dc4de340b3 Some debug overlays don't make sense when not in-game, disable them. Minor feedback fixes. 2023-08-13 21:54:24 +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
Henrik Rydgård
7bb1914fd3 Add FrameTiming.cpp/h (with no real contents) 2023-08-13 17:57:43 +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
Henrik Rydgård
8b47af7b96 Quick buildfix for libretro / d3d11 2023-08-07 11:55:09 +02:00
Henrik Rydgård
ea659319b2
Merge pull request #17852 from unknownbrackets/riscv-centralize
IR: centralize common parts of native backend
2023-08-06 10:54:53 +02:00
Unknown W. Brackets
691799a0ca irjit: Centralize native jit compile dispatch. 2023-08-03 23:14:58 -07:00
Henrik Rydgård
ffd5e57a20 Vulkan: Don't use multithreaded rendering if frames-in-flight is set to 1
It has no benefit, and loses by a few percent in simple benchmarking.
2023-08-01 21:08:07 +02:00
Unknown W. Brackets
f870271011 riscv: Spill registers more intelligently. 2023-07-30 14:24:12 -07:00
Eric Warmenhoven
c19aa05b60 Fix libretro build on apple platforms 2023-07-28 03:37:07 -04:00
Henrik Rydgård
b118e25b6a Vulkan: Make multithreaded rendering an option.
Multi-threaded rendering is good for smoothing out performance spikes
and increasing performance on low-power devices. However, the way we use
it it doesn't benefit latency (input lag) at all, rather the opposite.

So make it an option.
2023-07-23 22:06:01 +02:00
Henrik Rydgård
ab6e902fea Make naett work on Android, UWP, Mac. Exclude on Linux 2023-07-21 10:28:31 +02:00
Henrik Rydgård
e2cc835c2b Setup build for new file HTTPNaettRequest 2023-07-21 10:27:40 +02:00
Henrik Rydgård
7ae34f148a Setup build for naett - a lightweight https wrapper 2023-07-21 10:27:40 +02:00
Henrik Rydgård
f13a07f19b Break out Download and RequestManager into its own file 2023-07-21 10:27:40 +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
d0b42705a0 Switch over to rc-client 2023-07-08 18:59:37 +02: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