Commit Graph

2426 Commits

Author SHA1 Message Date
libretroadmin 312550f499 (task_content.c) Cut down on some gotos 2025-07-22 17:51:37 +02:00
libretroadmin d9dba4e376 Revert "(task_content) Silence warning"
This reverts commit c1862dccc8.
2025-07-22 17:29:13 +02:00
libretroadmin 8dfc31461e Revert "* task_content.c"
This reverts commit 9b1d67c03a.
2025-07-22 17:27:04 +02:00
libretroadmin 5ba1e7077e Revert "content_init - don't need the switch when error_enum is not null"
This reverts commit e18b01302d.
2025-07-22 17:26:54 +02:00
libretroadmin 4c3a88a2f8 Revert "No longer shows unnecessary content info runloop message"
This reverts commit a6b7cf459e.
2025-07-22 17:26:25 +02:00
libretroadmin 051c5cff77 Revert "(task_content.c) Get rid of some more unnecessary gotos"
This reverts commit 903501f183.
2025-07-22 17:26:15 +02:00
libretroadmin 13c6eb53c9 Some more static code analysis fixes/cleanups 2025-07-22 17:17:20 +02:00
libretroadmin c1862dccc8 (task_content) Silence warning 2025-07-22 16:43:45 +02:00
libretroadmin 903501f183 (task_content.c) Get rid of some more unnecessary gotos 2025-07-22 16:42:23 +02:00
libretroadmin a6b7cf459e No longer shows unnecessary content info runloop message 2025-07-22 16:02:16 +02:00
libretroadmin e18b01302d content_init - don't need the switch when error_enum is not null 2025-07-22 15:42:05 +02:00
libretroadmin 9b1d67c03a * task_content.c
* content_file_load refactor - simplify
* error_string no longer needs to be dynamically allocated, make
a small local string and pass it around
2025-07-22 15:39:46 +02:00
libretroadmin 9e31b35f1b (task_content) content_file_list_append_temporary - simplify 2025-07-22 15:14:43 +02:00
libretroadmin 341f6d3df4 task_autodetect - cleanups - get rid of gotos 2025-07-22 04:14:20 +02:00
sonninnos d452cb843b Database scan logging cleanups 2025-07-22 03:50:27 +03:00
libretroadmin 4b77ad663a task_content.c - small cleanups, initialize variables being passed 2025-07-21 05:59:09 +02:00
libretroadmin e24ca9da66 (task_content.c) replace one magic number 2025-07-21 05:38:18 +02:00
libretroadmin f1198c65a3 (task_content.c) Get rid of some of the obtuse macros 2025-07-21 05:20:46 +02:00
libretroadmin cd0f159238 Static code analysis warning fixes 2025-07-18 09:26:26 +02:00
libretroadmin 80b3ccebba Silence some static code analysis warnings + code formatting/style nits 2025-07-18 08:11:25 +02:00
libretroadmin 2f5d95b0cf Move non-essential string_list functions out of file 2025-07-18 01:43:03 +02:00
libretroadmin ab9535c827 Code analysis cleanups/fixes 2025-07-17 22:28:48 +02:00
libretroadmin 4c07e26649 Code analysis fixes - fix some warnings and prevent garbage data 2025-07-17 12:11:31 +02:00
libretroadmin 195c19a1c9 Fix more static code analysis errors/warnings 2025-07-17 09:44:19 +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 cc826c4ca6 Cleanup some variable names and some other cleanups 2025-07-17 05:11:00 +02:00
libretroadmin d8725d77bb Small variable cleanups - should make no functional difference 2025-07-17 04:40:42 +02:00
sonninnos b2ca569521 Logging unification cleanups 2025-07-10 05:59:06 +03:00
sonninnos 3885f4f8a5 Core updater logging cleanups 2025-07-09 17:49:24 +03:00
sonninnos 6056a0e602 Improve multidisk game scanning 2025-06-24 05:36:05 +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 b3b8b1e340 Add ZStandard support + libchdr update 2025-06-22 00:03:01 +03:00
sonninnos 383daa31cb Built-in playlist path rework 2025-06-16 19:18:55 +03:00
Eric Warmenhoven 98852bd427 android: enable builtin mbed-tls
fixes #16847
2025-06-03 23:03:37 -04:00
libretroadmin 5cb15e1cd7 Reapply "Allow Start button to quick manage media playlists (#17948)"
This reverts commit f877adb5d9.
2025-05-27 12:40:32 +02:00
libretroadmin f877adb5d9 Revert "Allow Start button to quick manage media playlists (#17948)"
This reverts commit 7d3740d4c0.
2025-05-27 12:39:52 +02:00
sonninnos 7d3740d4c0
Allow Start button to quick manage media playlists (#17948) 2025-05-27 04:25:16 +03:00
sonninnos 0e4cf00d1f
Add option for suggesting cores when a core is loaded (#17920) 2025-05-20 15:54:22 +03:00
Eric Warmenhoven b632a1373e cloud sync: don't always trust the server hash 2025-05-17 21:59:27 -04:00
sonninnos 97bc2da36c Fix menu core unload 2025-05-17 18:53:33 +03:00
pstef 66aa1424f0 Define WIN32_LEAN_AND_MEAN to avoid collision with winsock2 2025-04-12 10:45:08 +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 df6e3dbda8 Silence warnings about sign mismatch 2025-03-28 10:57:53 +00:00
pstef a4bfd84cc7 Silence warnings about sign mismatch 2025-03-25 16:55:39 +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 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
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
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