pstef
c6fb0871e9
Simplify save_keybind_axis()
...
Also use matching sprintf format and type to silence a format warning.
2025-03-27 18:47:52 +00:00
pstef
626ef6ce4b
Remove unused variable
...
It would be used only once in this context, so just remove it.
2025-03-27 18:33:55 +00:00
zoltanvb
5b2904930b
Extend keyboard input for linuxraw input driver
...
The keyboard support for linuxraw driver was a bit spotty. Extended
with missing keyboard query, callback, and a few fixes against
over-indexing the status array.
2025-03-27 15:04:19 +01:00
github-actions
a3b690ec58
Fetch translations from Crowdin
2025-03-27 00:15:32 +00:00
LibretroAdmin
999de04ace
Merge pull request #17733 from pstef/ozone-footer-label
2025-03-25 21:45:08 -07:00
LibretroAdmin
f0aeeb7732
Merge pull request #17734 from pstef/silence-warnings
2025-03-25 21:44:30 -07:00
LibretroAdmin
fbed58ff08
Merge pull request #17735 from pstef/freeze-ui-3ds
2025-03-25 21:43:17 -07:00
github-actions
0d39aa3d88
Fetch translations from Crowdin
2025-03-26 00:15:49 +00:00
pstef
eb8819867b
Partially revert 0033224c25
...
font_driver_get_message_width() can return -1 if it fails,
ozone_cache_footer_label() has a fallback for this case
2025-03-25 21:02:29 +00:00
pstef
870d57445a
Move INLINE earlier in function declarations
...
to silence a warning.
2025-03-25 20:20:37 +00:00
pstef
052acd4e38
Reorder arguments in calls to calloc
...
to silence calloc-tran sposed-args warnings.
2025-03-25 20:15:20 +00:00
pstef
ac38cfe8da
Silence -Waddress
...
This is a continuation of c9149895f5
2025-03-25 20:06:33 +00:00
pstef
50ecf3877c
Fix UI freeze when threaded rendering is enabled on 3DS
...
Before this change, there was at least one scenario in which the UI
would seemingly freeze and a restart was needed. That's when an update
of cores was attempted with threaded rendering enabled.
Fixes https://github.com/libretro/RetroArch/issues/17727
2025-03-25 17:18:29 +00:00
pstef
a4bfd84cc7
Silence warnings about sign mismatch
2025-03-25 16:55:39 +00:00
pstef
281dff8956
Silence a stringop-overflow warning
...
Guard against an unlikely case.
2025-03-25 16:55:39 +00:00
pstef
39495ced67
Silence a type-limits warning
...
Before this change, an 8-bit value was guaranteed to be lesser than the
size of this array (256). Instead of removing the check, I make it
meaningful by reducing the size of the array.
2025-03-25 16:55:39 +00:00
LibretroAdmin
962afed9dd
Merge pull request #17729 from pstef/limit-stack-usage
2025-03-25 04:40:14 -07:00
LibretroAdmin
873c467240
Merge pull request #17728 from pstef/signed-slot
2025-03-25 04:39:59 -07:00
github-actions
2406935a58
Fetch translations from Crowdin
2025-03-25 00:16:11 +00:00
github-actions
f6076a4203
Fetch translations from Crowdin
2025-03-24 00:16:01 +00:00
pstef
b995db627b
Change the type of slot to int
...
Everywhere around this function it is an int, and within this function
there is also a check for sign, which makes me think unsigned was a
mistake.
2025-03-23 22:33:17 +00:00
pstef
b0109b5829
Reduce stack usage in task_database_cue.c
...
Move disc_data from stack to heap.
2025-03-23 13:28:28 +00:00
pstef
d5ba7902a4
Reduce stack usage in command.c
...
by using PATH_MAX_LENGTH to define the length of buffers that store
paths.
2025-03-23 09:31:08 +00:00
LibretroAdmin
99af19b6fe
Merge pull request #17722 from pstef/extensions-rewrite
...
File extension list generation rewrite
2025-03-23 02:30:47 -07:00
LibretroAdmin
a1ce57f11f
Merge pull request #17723 from pstef/cmd-special
...
Push the compiler to reserve space for negative commands
2025-03-23 02:29:55 -07:00
LibretroAdmin
8ae97ac91e
Merge pull request #17724 from pstef/negative-accumulator
...
Allow frame_time_accumulator to go negative
2025-03-23 02:29:41 -07:00
github-actions
b0507c0235
Fetch translations from Crowdin
2025-03-23 00:16:41 +00:00
pstef
d14801d65b
File extension list generation rewrite
...
Only limit extensions under the condition that the valid_extensions list
is not empty and the user wishes to limit the extensions. Otherwise
present files of all recognized extensions.
Part of this logic was implemented in 8f32801292
where the
point was to show supported files when core info file is missing. The
other part is the filter_by_current_core option.
2025-03-22 20:37:05 +00:00
LibretroAdmin
e05dc9837b
Merge pull request #17721 from mittonk/lr-dice_apple
...
Package lr-dice for the Apple Store.
2025-03-22 07:21:44 -07:00
Ken Mitton
59d1b94b65
Package lr-dice for the Apple Store.
2025-03-21 11:53:50 -04:00
LibretroAdmin
5adaaf7851
Merge pull request #17717 from pstef/silence-warnings
...
Silence even more warnings
2025-03-21 08:41:40 -07:00
pstef
3be0cfe09c
Allow frame_time_accumulator to go negative
...
to be able to catch the underflow and correct it.
2025-03-20 21:44:39 +00:00
pstef
c3dfc7ec63
Push the compiler to reserve space for negative commands
...
Cheevos define a special macro defined to -1 and uses it as one of the
values for enum event_command. Make this value a part of the enum
definition so that this type is not optimized to be unsigned.
2025-03-20 21:32:56 +00:00
pstef
a28b79215f
Silence warning about type sign mismatch
...
Make this enum act like a type, use it and let the compiler choose and
handle signedness so that it all matches.
2025-03-20 18:24:55 +00:00
LibretroAdmin
a58ac85dbc
Merge pull request #17704 from zoltanvb/android_bind_hold
...
Change bind hold default on Android
2025-03-20 11:05:49 -07:00
pstef
3fb7d190bf
Silence warning about possible truncation
...
Also simplify this part; the point here is to start the copy later, but
otherwise the buffer size is the same, and it's still a string, so needs
no special handling.
2025-03-20 16:51:58 +00:00
pstef
b85bcb8e48
Adjust types of index and maxindex to unsigned
2025-03-20 16:21:27 +00:00
pstef
ce6cd0000c
Don't free members of struct before init
2025-03-20 16:12:12 +00:00
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