Commit Graph

65495 Commits

Author SHA1 Message Date
pstef bf1ff07fd0 Rewrite setting_get_string_representation_video_frame_delay()
Reduce indentation, squash a warning, simplify code.
2025-03-28 17:30:53 +00:00
pstef 80a74cca68 Remove unused variable
sonninnos says it might have been a copy and paste leftover.
2025-03-28 17:09:14 +00:00
pstef 83e974077f Guarantee space for string characters after strlcpy
to silence a couple of stringop-overflow warnings (3DS).
2025-03-28 11:11:09 +00:00
pstef 59a0665a20 Remove unused variable
unused since b5e01422e1
2025-03-28 10:57:53 +00:00
pstef df6e3dbda8 Silence warnings about sign mismatch 2025-03-28 10:57:53 +00:00
pstef b59b038a3e Silence an unreferenced local variable warning
Not used here since 106dc5d8b7
2025-03-28 09:48:21 +00:00
pstef a25a4d29a8 Silence a -Waddress warning 2025-03-28 09:48:21 +00:00
pstef 2daad9f89f Remove unused variables
They were never used and seem to have been copied from
action_ok_push_dropdown_item_input_device_type().
2025-03-28 09:48:21 +00:00
pstef 3bf6635ec6 Make printf format match the type 2025-03-28 09:48:20 +00:00
LibretroAdmin cb69d250b0
Merge pull request #17739 from zoltanvb/linuxraw_keyboard
Extend keyboard input for linuxraw input driver
2025-03-27 17:05:20 -07:00
pstef aa94f571e2 Silence an unused variable warning
This is not used since 73abaddd9c
2025-03-27 23:21:19 +00:00
pstef 5ef2b5a442 Silence a defined-but-not-used-function warning
Enclose the static function definitions in an ifdef like the one used
where they are called.
2025-03-27 19:06:28 +00:00
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