Commit graph

221 commits

Author SHA1 Message Date
Nukem
d3aeff861e libretro: Restore Vulkan MSAA video option 2025-01-10 16:13:16 -05:00
Nukem
02857afba4 libretro: Fix buffered frames option values 2025-01-09 21:22:57 -05:00
Bobby Smith
c522e53e79 [Libretro] Crash fix 2024-12-19 12:43:55 +01:00
Henrik Rydgård
96cab3f267 Rework the log manager to be more robust 2024-12-16 12:33:58 +01:00
Henrik Rydgård
df91f699fc Move the core loop to Core.cpp 2024-12-08 11:47:12 +01:00
Henrik Rydgård
3ffff831c7 Refactor LogManager (remove GetInstance()). In headless, add option to log to OutputDebugString on Windows. 2024-12-03 21:39:42 +01:00
Henrik Rydgård
0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00
Henrik Rydgård
96c4a10e8c Add two new core states, rename RUNNING to RUNNING_CPU and similar for stepping. 2024-12-01 21:04:21 +01:00
Bobby Smith
25e6c16bd2 [Libretro] Fix deadzone and sensitivity 2024-11-29 00:49:27 +01:00
Bobby Smith
41d47710ad [Libretro] Fix crash on boot 2024-11-28 16:15:38 +01:00
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
Nejsplitter
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ård
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å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