Commit Graph

3928 Commits

Author SHA1 Message Date
libretroadmin dc9ffcce66 (sinc resampler) style nits 2025-07-20 09:37:15 +02:00
libretroadmin b0e344a423 Silence some code analysis warnings 2025-07-20 08:11:36 +02:00
libretroadmin 6182e39938 Split libretro_d3d.h up into two separate files 2025-07-20 06:26:12 +02:00
LibretroAdmin 26b806f860
Rewrite file_list_insert - use memmove instead of a malloc and copy (#18097)
* Rewrite file_list_insert - use memmove instead of a malloc and copy

* Use INLINE keyword - C89 buildfix
2025-07-20 05:22:49 +02:00
libretroadmin fa2ce70c5b fifo_write - only do second memcpy call if rest_write > 0 2025-07-20 03:26:50 +02:00
libretroadmin 954d202637 string_remove_all_chars - only write if the character is not the
one to remove
2025-07-20 03:14:20 +02:00
libretroadmin 02f3f31121 scaler_gen_filter - small simplification 2025-07-20 02:38:04 +02:00
LibretroAdmin e011e710bd
Make last_slash concatenation parts consistent (#18102) 2025-07-19 23:37:31 +02:00
LibretroAdmin 58b686f661 Go back to old rthreads TLS code for now 2025-07-18 18:18:30 +02:00
LibretroAdmin 25546f864a Revert "Move code around"
This reverts commit a018f935d0.
2025-07-18 18:16:27 +02:00
LibretroAdmin a018f935d0 Move code around 2025-07-18 17:24:46 +02:00
LibretroAdmin 57a8a731da More UCRT buildfixes 2025-07-18 16:07:10 +02:00
libretroadmin cd0f159238 Static code analysis warning fixes 2025-07-18 09:26:26 +02:00
libretroadmin 2f5d95b0cf Move non-essential string_list functions out of file 2025-07-18 01:43:03 +02:00
libretroadmin ae2465f0db Variable name changes 2025-07-17 23:41:27 +02:00
libretroadmin ab9535c827 Code analysis cleanups/fixes 2025-07-17 22:28:48 +02:00
libretroadmin dd480aac94 Silence some more code analysis warnings 2025-07-17 12:33:47 +02:00
libretroadmin 4c07e26649 Code analysis fixes - fix some warnings and prevent garbage data 2025-07-17 12:11:31 +02:00
libretroadmin 7b093cc55e More code analysis warning fixes 2025-07-17 10:00:39 +02:00
libretroadmin f45fd77d68 Fix errors and warnings pointed out by static code analysis (Clang) 2025-07-17 08:49:53 +02:00
libretroadmin c6d72062e2 remove dead code 2025-07-17 08:02:06 +02:00
libretroadmin efc1f7f8e1 Variable naming cleanups 2025-07-17 06:10:48 +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