Commit Graph

65067 Commits

Author SHA1 Message Date
github-actions 67a2793ab4 Fetch translations from Crowdin 2025-05-07 00:16:24 +00:00
github-actions 3bfed628ff Fetch translations from Crowdin 2025-05-06 00:16:38 +00:00
LibretroAdmin 0670d6d87e
Merge pull request #17853 from sonninnos/menu-thumbnail-background 2025-05-05 14:45:11 +02:00
LibretroAdmin 5ba3fa6fd4
Merge pull request #17855 from kwyxz/camera_haiku 2025-05-05 14:44:51 +02:00
LibretroAdmin 28f81e8e71
Merge pull request #17857 from jecaro/fix-nmcli-wifi-driver 2025-05-05 14:44:34 +02:00
LibretroAdmin 463770c3c2
Merge pull request #17854 from pstef/thumbnails-selection 2025-05-05 14:44:12 +02:00
jecaro 3637f49ddc
Fix nmcli wifi driver
- Use the password stored in the connection profile instead of asking
  each time to the user

- `Disconnect` menu item wasn't shown even when connected

   When entering the Wi-Fi menu first, `nmcli_connection_info` is called with
   `NULL`. If we return `false` here, the menu doesn't show the `Disconnect`
   menu item even when the wifi is on and connected.

- Don't consider wired connections when checking if the device is connected

   `cmd_file = popen("nmcli -f NAME c show --active | tail -n+2", "r");`

   That command returns all active connections, even the wired ones. That
   means that if the wifi is not connected but we have a wired connection,
   retroarch shows the Disconnect menu item to disconnect ... a
   non-existent wifi connection.
2025-05-05 12:38:12 +02:00
github-actions 19257e2190 Fetch translations from Crowdin 2025-05-05 00:17:08 +00:00
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