Commit Graph
211 Commits
Author SHA1 Message Date
Henrik Rydgård 59a56d66c7 Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård 758faac445 Be more consistent about thread naming 2024-11-05 12:53:21 +01:00
Henrik Rydgård 1f8549045d Default Discord rich presence to off 2024-11-02 21:36:30 +01:00
NejsplitterandGitHub e6b84a7f71 [libretro] Expose "analog deadzone" and "analog sensitivity" options (#19540)
* [libretro] Expose "analog deadzone" option

* [libretro] Expose "analog deadzone" option

* Update libretro.cpp

* Update libretro.cpp

* Update libretro_core_options.h

* Update libretro.cpp

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro.cpp

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro_core_options.h
2024-10-22 23:20:17 +00:00
Henrik Rydgård 9699be2110 RetroAchievements: Cleanup better on login failure 2024-09-26 01:09:56 +02:00
Henrik Rydgård 96c4ae4457 TimeUtil: Minor cleanup, add precise_sleep() 2024-07-26 11:25:58 +02:00
Henrik Rydgård 5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +02:00
Henrik RydgårdandGitHub e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
sonninnos 4c1b50a394 libretro: Do internal fastforward toggling only with ForceLagSync 2024-06-05 16:40:47 +03:00
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årdandGitHub 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årdandGitHub 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