libretroadmin
dde58b8cef
Make last_slash concatenation parts consistent
2025-07-16 22:03:46 +02:00
libretroadmin
2770470695
Rewrite find_last_slash - use one loop, skip two strrchr calls
2025-07-16 01:31:29 +02:00
libretroadmin
047f926540
use last_slash in file_path
2025-07-16 00:31:09 +02:00
libretroadmin
d37068cfb8
Move code back
2025-07-15 23:35:37 +02:00
libretroadmin
1cc0f3273f
(file_path) Optimize find_last_slash:
...
* Do one loop iteration inside the function instead of two
strrchr(s) for finding the forward and backwards slash
2025-07-14 18:44:49 +02:00
libretroadmin
9b6641c951
(file_path) fill_pathname_join_special - small tweak
2025-07-14 17:37:33 +02:00
libretroadmin
2d632fed54
file_path changes:
...
* improve fill_pathname_slash, no longer call strlcat
- strlcat call would have been done in strlcat regardless
2025-07-14 17:26:15 +02:00
libretroadmin
3eb8589550
(file_list) Optimizations:
...
* file_list_insert - use memmove instead of malloc to add new
file item on top of the existing one
2025-07-14 17:04:44 +02:00
libretroadmin
215219dc51
Change libretro-common code back
2025-07-14 05:50:17 +02:00
libretroadmin
435849d00f
(libetro-common) scaler simplifications
2025-07-14 03:00:08 +02:00
libretroadmin
3226361c1d
Prevent some nbio windows mmap memory leaks when failing
2025-07-14 01:19:39 +02:00
libretroadmin
86b55c14ec
(file_list)
...
Performance improvements:
* Various optimizations
* Reduced memory allocations - file_list_insert would call malloc
for every single item that would need to be shifted downwards. instead
it does a memmove call now
2025-07-14 00:17:12 +02:00
libretroadmin
f6da101330
(resampler) indentation cleanups
2025-07-13 18:40:11 +02:00
libretroadmin
de76511ee7
(file_path) Cleanups / refactors
2025-07-13 08:02:28 +02:00
libretroadmin
55bada6bda
Rewrite strlcpy - add early return for len == 0
2025-07-13 04:59:24 +02:00
libretroadmin
311a64a413
(audio_conversion) small cleanups
2025-07-13 03:21:13 +02:00
libretroadmin
4973e47cac
(Resampler) Style nits/cleanups
2025-07-13 01:59:36 +02:00
libretroadmin
04af1a1e98
Put header includes inside ifdef guard
2025-07-12 22:08:09 +02:00
libretroadmin
4a7b00f43e
Rewrite string_list_join_concat and menu_entries_append function
2025-07-12 20:53:48 +02:00
libretroadmin
0d854fef31
remove strlcats from string_list_join_concat_special
2025-07-12 20:36:58 +02:00
libretroadmin
cb02d1ffcf
Stop using strlen_size, just use regular strlen
2025-07-12 20:27:41 +02:00
libretroadmin
2dbb9f62d8
* Change some variable naming conventions
...
* Make return control paths less dependent on variables
2025-07-11 02:15:12 +02:00
libretroadmin
bca5cafaa6
Rewrite nested_list functio
...
Rewrite core_info function - no more strlcat usage
2025-07-10 22:34:45 +02:00
sonninnos
b2ca569521
Logging unification cleanups
2025-07-10 05:59:06 +03:00
Stephanie Gawroriski
4704961eb9
Correct SEEK_CUR and SEEK_END for memory mapped VFS files as neither of their conditions were correct, SEEK_CUR never failed and SEEK_END effectively always failed.
2025-07-05 16:48:26 -04:00
Eric Warmenhoven
6046e29919
net_http: don't include port in Host header unnecessarily
2025-07-05 00:21:09 -04:00
sonninnos
1389c15280
Fix filestream_copy+cmp
2025-06-29 10:41:20 +03:00
libretroadmin
e13140ba04
Rewrite some strlcat calls into strlcpy
2025-06-26 14:47:53 +02:00
sonninnos
bc3f1c6487
Built-in playlist migration rework
2025-06-25 20:38:24 +03:00
LibretroAdmin
c27e815808
Merge pull request #18040 from sonninnos/libchdr-zstd
...
Add Zstandard support + libchdr update
2025-06-22 15:48:52 +02:00
Eric Warmenhoven
12599993c0
apple: speed up cloud sync
2025-06-21 23:57:03 -04:00
sonninnos
8c6744145e
Capitalization fix
2025-06-22 05:12:57 +03:00
sonninnos
ece640fd87
MSVC buildfix attempt
2025-06-22 01:47:13 +03:00
sonninnos
75719b2177
Buildfix attempt
2025-06-22 00:21:19 +03:00
sonninnos
b3b8b1e340
Add ZStandard support + libchdr update
2025-06-22 00:03:01 +03:00
DisasterMo
883d93f04c
Add Irish Gaelic as a language option
2025-06-20 22:37:46 +02:00
Eric Warmenhoven
8d579bba30
net_http: minor lock refactor
2025-06-09 23:49:49 -04:00
Eric Warmenhoven
98852bd427
android: enable builtin mbed-tls
...
fixes #16847
2025-06-03 23:03:37 -04:00
LibretroAdmin
73426f823d
Merge pull request #17872 from BinBashBanana/master
...
Emscripten improvements pt. 4
2025-05-09 02:49:30 +02:00
Michael Burgardt
f9bdd7bc87
Update language list in sample files ( #17829 )
2025-05-09 00:57:00 +03:00
BinBashBanana
2d3c18e48d
Emscripten improvements pt. 4
2025-05-08 11:01:43 -07: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
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
刘皓
ebd79bfa72
Fix feature test for `GL_CAPS_ARGB8` in Emscripten builds
2025-04-26 19:11:19 -04:00
DisasterMo
453348afad
Update the core localisation sync scripts, workflows and instructions
2025-04-16 18:58:02 +02:00
pstef
ab3b321c66
cpuid: finish converting to int32_t
...
fixes b25cb6ea63
2025-04-12 10:30:36 +00:00
pstef
b25cb6ea63
Use int32_t for x86_cpuid flags and handle MSVC types
...
Change the flags parameter to int32_t for explicit sizing. Add a check
and cast for MSVC __cpuid compatibility when int is 32-bit.
This silences a -Wincompatible-pointer-types warning where int32_t is
long int.
2025-04-10 21:10:45 +00:00
LibretroAdmin
82d8b9630a
Merge pull request #17750 from BinBashBanana/master
2025-04-10 03:35:45 -07:00
pstef
1f26793fde
3DS: enable mbedTLS
2025-04-06 18:48:10 +00:00
pstef
70aaa0a55c
Fix non-griffin build for 3DS and make it the default
...
While here:
* remove input_overlay and task_overlay from linking blacklist
* move -Werror to CC invocation since C++ refuses to use it
* copy the quiet build mode from the main Makefile and make it the
default
* temporarily define DEPRECATED for gpu_old.h to allow succesful build
* replace the call to command_event() with one to retroarch_main_quit()
in a failure case
* add missing uncompr.o in Makefile.common for HAVE_BUILTINZLIB
2025-04-06 18:35:41 +00:00