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
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
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