Commit Graph

65495 Commits

Author SHA1 Message Date
pstef c978717b61 Silence a warning about no return value from non-void function
It seems the idea is to continue with installation, regardless of what
happened within deleteCia, so I just change its return type to void.
2025-03-20 06:26:44 +00:00
pstef 29639b98b3 Use the return value of rbtree_insert to silence a warning
The function prototype wants us to be warned when the result is not
used, but it's not clear why - I assume to check for failure.
2025-03-20 06:26:44 +00:00
LibretroAdmin ee881cfd67
Merge pull request #17706 from zoltanvb/plain_drm_fix
Enable compilation with plain_drm without other video drivers.
2025-03-19 18:04:52 -07:00
LibretroAdmin e6887be45c
Merge pull request #17710 from warmenhoven/warmenhoven/pr/apple-strlcpy
apple: fix strlcpy where src and dst are the same
2025-03-19 18:04:41 -07:00
LibretroAdmin f7b4af89e9
Merge pull request #17713 from pstef/silence-warnings
Silence warnings
2025-03-19 18:04:22 -07:00
github-actions 9fe9cb0939 Fetch translations from Crowdin 2025-03-20 00:15:04 +00:00
pstef 17a05ea939 Silence a dangling-pointer warning in Lzma 2025-03-19 20:19:39 +00:00
pstef f7285ff405 Silence warning: left shift of negative value
Import the change from upstream 16c83cd5fc4c18954c1b6e3de16c37ba
2025-03-19 20:09:15 +00:00
pstef a27d49b6f2 Silence GCC stringop-overflow
At optimization level -O3, GCC generates a warning about its own
optimizations, likely due to loop unrolling. Manually unroll the loop to
eliminate any ambiguity and prevent the warning.
2025-03-19 19:57:50 +00:00
pstef 3dca8dbf66 Silence -Walloc-size-larger-than=byte-size
One of the GCC14's optimization heuristic triggered here, suggesting
that the special value of len (size_t) could potentially be lesser than
the file's size (int64_t) but greater than "maximum object size" (set by
byte-size, PTRDIFF_MAX by default).

Use the same type as the file size it's compared to, and adjust the
sentinel value to spell INT64_MAX.
2025-03-19 17:35:15 +00:00
github-actions 5c093a7211 Fetch translations from Crowdin 2025-03-19 00:22:56 +00:00
Eric Warmenhoven 86fddd5326 apple: fix strlcpy where src and dst are the same 2025-03-17 15:34:45 -04:00
sonninnos 5365639a36
Win32: Fix pick core dialog (#17709) 2025-03-17 18:10:50 +02:00
zoltanvb 6ce2a12c4d Enable compilation with plain_drm without other video drivers. 2025-03-17 06:04:06 +01:00
github-actions 81b74decb3 Fetch translations from Crowdin 2025-03-17 00:16:11 +00:00
LibretroAdmin fbcd3a77fb
Merge pull request #17705 from pstef/silence-warnings-ctr
CTR: more compiler warnings cleanup
2025-03-16 09:29:39 -07:00
pstef bad0e58372 CTR: more compiler warnings cleanup
* unsigned vs signed comparison
* copy DEBUG_VAR from wiiu - this one prints pointer values in a
  portable way
* prove GCC14 that a date formatted as "00/00/0000" can fit into 11
  bytes
* explicitly mention previously unhandled enum constants
* Adding GFX widgets in b9849f78f7 and 1235a7435e orphaned
  ctr_set_osd_msg(). Reinstate it instead of removing, since it's
  effectively the same as calling font_driver_render_msg, but with
  checks.
* remove sp from clobber list in inline assembly
2025-03-16 14:00:35 +00:00
zoltanvb 485b055d48 Change bind hold default on Android
Due to touchscreen quick tap function, binding runs into problems
with the default setting that works well on other platforms. Using
a nonzero value avoids that problem.
2025-03-16 14:28:21 +01:00
LibretroAdmin bf3752ed61
Merge pull request #17702 from pstef/silence-warnings-ctr 2025-03-15 18:08:22 -07:00
LibretroAdmin 98b1601fcb
Merge pull request #17701 from zoltanvb/reserved_device_multiple_instance 2025-03-15 18:07:03 -07:00
LibretroAdmin 040cbe00d6
Merge pull request #17698 from pstef/Makefile.ctr-debug 2025-03-15 18:06:49 -07:00
LibretroAdmin c2ffa044f9
Merge pull request #17700 from pstef/realloc-ext-list 2025-03-15 18:06:35 -07:00
pstef fc9f0b04be CTR: Silence a couple of GCC 14 warnings 2025-03-16 01:01:04 +00:00
github-actions b9de670da0 Fetch translations from Crowdin 2025-03-16 00:15:47 +00:00
zoltanvb ba5489128f Fix reserved device selection when multiple controller instances are present
If multiple instances of the same controller type are present, they will be
postfixed by (#2), (#3) etc. This made menu selection ineffective.
2025-03-15 18:40:33 +01:00
pstef 62ccd05e36 Try to avoid overflowing the stack
PATH_MAX_LENGTH is pretty short on CTR and not really adequate here
since this buffer is not storing a path.

Allocate and possibly reallocate from heap instead of using the
stack here.
2025-03-15 16:43:38 +00:00
pstef b8a340641a Make debugging on CTR easier
Only omit frame pointers on non-debug builds.
2025-03-15 10:30:06 +00:00
github-actions a186bdba06 Fetch translations from Crowdin 2025-03-15 00:14:20 +00:00
LibretroAdmin ea592051c7
Merge pull request #17696 from sonninnos/content-load-archive
Show load before open in archives
2025-03-14 13:46:28 -07:00
LibretroAdmin 4923c2e70b
Merge pull request #17697 from sonninnos/core-suggest
Suggest cores only when core is not loaded
2025-03-14 13:46:20 -07:00
sonninnos e64d52740b Suggest cores only when core is not loaded 2025-03-14 12:50:15 +02:00
sonninnos ee2cf436d4 Show load before open in archives 2025-03-14 12:47:58 +02:00
github-actions 113ff2f009 Fetch translations from Crowdin 2025-03-14 00:14:58 +00:00
LibretroAdmin 51b13fc58c
Merge pull request #17695 from sonninnos/core-load-unload
Core load+unload fixes
2025-03-13 09:17:44 -07:00
sonninnos ee8a641275 Core load+unload fixes 2025-03-13 15:09:38 +02:00
LibretroAdmin 0b2b933388
Merge pull request #17681 from SternXD/uwp-update-angle 2025-03-12 22:00:30 -07:00
LibretroAdmin bfad782acc
Merge pull request #17679 from SternXD/uwp-invalid-key 2025-03-12 22:00:19 -07:00
github-actions c0348de3db Fetch translations from Crowdin 2025-03-13 00:15:32 +00:00
LibretroAdmin 7e1c036fc0
Merge pull request #17693 from JesseTG/jtg/fix-light-sensor-parsing 2025-03-12 16:43:54 -07:00
LibretroAdmin faae5b1519
Merge pull request #17692 from JoeOsborn/fetch-single-backend 2025-03-12 16:43:40 -07:00
Jesse Talavera a52a63c381 Fix the light sensor reading on Linux input drivers
A previous `errno` was causing `linux_read_illuminance_sensor` to fail despite parsing the returned value correctly
2025-03-12 18:25:21 -04:00
Joseph C. Osborn 525e1cff49 Slightly more informative printf 2025-03-12 15:11:23 -07:00
Joseph C. Osborn 52e2ee9272 add abort in case only one of manifest/base dir defined 2025-03-12 15:10:49 -07:00
Joseph C. Osborn d4d3aee457 Strip newline from base_url, use wasmfs_create_file instead of open
Also style fixes
2025-03-12 15:06:29 -07:00
LibretroAdmin 919868aa0a
Merge pull request #17688 from zoltanvb/changelist_update 2025-03-11 22:02:35 -07:00
github-actions a36e380337 Fetch translations from Crowdin 2025-03-12 00:15:19 +00:00
zoltanvb 5cf14cc14c
Changes up to 2025-03-11 2025-03-11 23:20:48 +01:00
github-actions c94e4cff85 Fetch translations from Crowdin 2025-03-11 00:15:37 +00:00
Joseph C. Osborn 809e5d78be create a single fetchfs backend instead of 1 per file
symlinking manifest entries and using a baseurl gives us a way to
create just a single fetchfs backend (and a single thread) since
emscripten upstream is not willing to integrate manifest support to
fetchfs directly.

Retroarch embedders could use this to get assets or other resources
lazily or chunk-by-chunk for large files.
2025-03-10 15:04:38 -07:00
SternXD 37b349432f
UWP: Update invalid pfx key 2025-03-10 11:24:42 -04:00