Commit Graph

65560 Commits

Author SHA1 Message Date
kwyxz e78898f379 default to FFmpeg libavfilter virtual input device 2025-05-04 01:48:15 +00:00
github-actions 015e515e9e Fetch translations from Crowdin 2025-05-04 00:17:35 +00:00
pstef 583687081c Revisit selection and size_t to silence warnings
There is a type mismatch between selection (size_t) and how it's passed
to some functions. In 4f3ae82 I got it backwards and changed the type in
savestate thumbnail function definitions to size_t, but in that case we
can assume that there won't be more than 999. So in this case it's OK to
keep the unsigned int and cast selection to that type.

Thumbnails on playlists are the other case and the limit is not so clear
to me, so I assume it's reasonable to promote the type of the function
parameter i from unsigned to size_t.
2025-05-03 19:08:56 +00:00
sonninnos e3583cbcbb Add common Thumbnail Background option for all menu drivers 2025-05-03 19:12:10 +03:00
LibretroAdmin 2a225a20dc
Merge pull request #17851 from pstef/ffast-math
Pop fast-math at the end of the file
2025-05-03 16:48:59 +02:00
LibretroAdmin 34e68a44ab
Merge pull request #17852 from pstef/mean-and-mean
Reapply "Define WIN32_LEAN_AND_MEAN to avoid collision with winsock2"
2025-05-03 16:48:46 +02:00
pstef 0c1402d92a Reapply "Define WIN32_LEAN_AND_MEAN to avoid collision with winsock2"
It was reverted in 309c67a205 because it
was suspected of breaking Windows releases, but the reason was
different.
2025-05-03 13:28:49 +00:00
pstef 2e868fc00b Pop fast-math at the end of the file
so that it doesn't affect the rest of the code in Griffin builds.

This is unfortunately GCC-only, but Clang will miss only 1 vectorization.
2025-05-03 12:29:42 +00:00
github-actions 63487e8ed8 Fetch translations from Crowdin 2025-05-03 00:15:28 +00:00
LibretroAdmin 4c30e94aa2
Merge pull request #17850 from pstef/ffast-math
Make -ffast-math exclusive to sinc_resampler.c
2025-05-03 00:12:06 +02:00
pstef 6bfb7862e7 Make -ffast-math exclusive to sinc_resampler.c
-ffast-math was added in ff14092d8d with a comment that it "helps SINC
resampler to auto-vectorize". The flag is an alias for "-fno-math-errno
-funsafe-math-optimizations -ffp-contract=fast -fno-honor-infinities
-fno-honor-nans". The last two of those cause compiler complaints
because while the flag was meant for this file, it's shared across the
codebase that includes statements that operate on infinities and NaNs.

GCC 13.3 with -fopt-info-vec reports 18 vectorizations for `-O3
-ffast-math`, 17 for `-O3 -fno-math-errno -funsafe-math-optimizations
-ffp-contract=fast` and also 17 for plain `-O3`. So using the subset of
-ffast-math without the offending flags buys nothing and loses 1
vectorization.

Both GCC and Clang provide the "fast-math" pragma directive, which I add
to this one file that benefits from it, under the condition that it's
supported. -ffast-math is removed from most of the makefiles.
2025-05-02 17:26:19 +00:00
github-actions 14c78b6c32 Fetch translations from Crowdin 2025-05-02 00:15:30 +00:00
LibretroAdmin 4b6d315ad6
Merge pull request #17844 from JoeOsborn/add-save-load-sram-commands 2025-05-02 00:09:31 +02:00
LibretroAdmin 28a300d00f
Merge pull request #17841 from pstef/silenter-makefiles 2025-05-02 00:08:41 +02:00
LibretroAdmin 811a32b982
Merge pull request #17843 from pstef/ozone-selection 2025-05-02 00:07:57 +02:00
github-actions baee906ef3 Fetch translations from Crowdin 2025-05-01 00:17:50 +00:00
pstef c968c1a51d Use size_t for new_selection as done everywhere else 2025-04-30 23:48:39 +00:00
Joseph C. Osborn fe5defea71 add new error message for sram load during hardcore cheevo 2025-04-30 15:05:39 -07:00
Joseph C. Osborn fb94043d48 Report errors from save/load, disable loads under hard cheevos 2025-04-30 14:44:56 -07:00
Joseph C. Osborn 6235f3138b Add command.h commands for saving/loading sram 2025-04-30 12:33:40 -07:00
github-actions 05f94af415 Fetch translations from Crowdin 2025-04-30 00:16:22 +00:00
pstef 48f842f307 CI: use the info target
These makefiles provide the info target that will print contents of each
variable that is not printed (unless V=1, which is not the case here) on
command invocation. Making this information available in the logs should
help debugging, but it doesn't need to be printed on each command
invocation.
2025-04-29 18:54:24 +00:00
pstef 0c838c14e9 Makefiles: don't print info unconditionally
The point of making the default "semi-silent" (each target is printed,
but not the entire invocation verbatim) was to factor out information
about invocation to a one-time target (info) and not repeating it ever
again. With V=1, the info target is silent, because each command
invocation will be printed verbatim, which needs no herald.

The undesired side effect of me introducing the info target and making
it a dependency of the default all target is that info doesn't respect
the --silent make option, so in this use case it was more noisy, not
less.

I believe the most elegant solution that satisfies all use cases is to
stop printing info unconditionally, and instead list it explicitly in
make invocations in CI, together with the all target. Then this info is
kept available for inspection from logs, but it's not repeated on each
invocation. The intention was to make the logs easier to read and scroll
in search for new compiler warnings.
2025-04-29 18:36:48 +00:00
github-actions 54af661d95 Fetch translations from Crowdin 2025-04-28 00:16:34 +00:00
LibretroAdmin a7fab4a394
Merge pull request #17833 from white-axe/emscripten-argb8
Fix feature test for `GL_CAPS_ARGB8` in Emscripten builds
2025-04-27 09:54:33 +02:00
github-actions 633ee296e7 Fetch translations from Crowdin 2025-04-27 00:17:17 +00:00
刘皓 ebd79bfa72
Fix feature test for `GL_CAPS_ARGB8` in Emscripten builds 2025-04-26 19:11:19 -04:00
LibretroAdmin 3036fecc7c
Merge pull request #17831 from pstef/Makefile.ctr
3DS: enable cloud sync
2025-04-26 12:32:57 +02:00
pstef fdcd4e78e8 3DS: enable Cloud Sync 2025-04-26 01:11:11 +00:00
pstef 57845fd3cf Remove commented-out needless HAVE_ features 2025-04-26 01:10:16 +00:00
github-actions 30aad19fae Fetch translations from Crowdin 2025-04-26 00:15:12 +00:00
github-actions 8af10c25a1 Fetch translations from Crowdin 2025-04-25 00:16:20 +00:00
LibretroAdmin 3ee6dd6481
Merge pull request #17828 from JoeOsborn/fix-uninitialized-variable
Fixes an uninitialized variable in extra wasmfs/fetchfs feature
2025-04-25 02:08:30 +02:00
Joseph C. Osborn 55f9f92eaf Fixes an uninitialized variable in extra wasmfs/fetchfs feature
Under some optimizations, this would lead to games using fetchfs
backend just crashing due to calling wasmfs functions on a garbage pointer.
2025-04-24 10:14:16 -07:00
LibretroAdmin 92fecf68b1
Merge pull request #17827 from white-axe/emscripten-webgl-get-proc-address 2025-04-24 07:25:17 -07:00
刘皓 1a5eb6e8b9
Implement `get_proc_address` for emscriptenwebgl_ctx 2025-04-23 22:12:10 -04:00
github-actions b2a5e97923 Fetch translations from Crowdin 2025-04-24 00:16:04 +00:00
github-actions ab515cd22d Fetch translations from Crowdin 2025-04-23 00:15:54 +00:00
github-actions 03525ffd5f Fetch translations from Crowdin 2025-04-22 00:15:59 +00:00
github-actions 547d739db4 Fetch translations from Crowdin 2025-04-21 00:16:40 +00:00
github-actions a2e512a094 Fetch translations from Crowdin 2025-04-20 00:17:09 +00:00
github-actions 76e7c9a3d9 Fetch translations from Crowdin 2025-04-19 00:15:24 +00:00
LibretroAdmin 056153ca5b
Merge pull request #17821 from pstef/mean-and-mean 2025-04-18 15:42:35 -07:00
pstef 309c67a205 Revert "Define WIN32_LEAN_AND_MEAN to avoid collision with winsock2"
The Windows builds have been missing some libraries, notably
avdevice-58.dll, avfilter-7.dll, and prostproc-55.dll as reported by a
user on Discord.  I suspect it's caused by cc842fd, although I don't
fully understand why that would happen.
2025-04-18 21:12:17 +00:00
LibretroAdmin 21c5c5db36
Merge pull request #17815 from DisasterMo/master
Update the core localisation sync scripts, workflows and instructions
2025-04-18 09:01:36 -07:00
LibretroAdmin 60c8a34039
Merge pull request #17820 from zoltanvb/menu_driver_warning_fix
Avoid format length warning in menu_driver.c.
2025-04-18 09:00:57 -07:00
zoltanvb 6160b71ecc Avoid format length warning. 2025-04-18 17:33:55 +02:00
github-actions 0d66d4b1b3 Fetch translations from Crowdin 2025-04-18 00:15:29 +00:00
LibretroAdmin 0fef644219
Merge pull request #17818 from zoltanvb/msg_state_size
Fix core descriptions not showing
2025-04-17 15:06:10 -07:00
zoltanvb 597405ba89 Fix core descriptions not showing
In core downloader, description can be brought up by pressing
Select. However, for those cores where the description is longer
than what would be possible to display, nothing was displayed.
Several such cores exist, one example is Dosbox-Core.

Since this array is used for the messagebox, it is needless to make
it larger than what would be displayed anyway, and it makes other
safeguards act reasonably, so now there is info, just truncated.
2025-04-17 22:27:23 +02:00