sonninnos
02e932e21f
Allow full savestate support without info file
2025-08-06 03:40:39 +03:00
libretroadmin
248af45eaf
Fix more static code analysis warnings - bunch of garbage values
...
and double frees fixed in core_info.c
2025-08-05 17:51:25 +02:00
libretroadmin
7b66dec4f0
core_info_list_new - fix potential leak on error
2025-07-20 08:24:18 +02:00
libretroadmin
14906fc489
Revert "- Cut down on strrchr calls inside loops"
...
This reverts commit f73d9dead3
.
2025-07-15 09:30:13 +02:00
libretroadmin
f73d9dead3
- Cut down on strrchr calls inside loops
...
- Replace string_replace_all_chars calls
2025-07-14 22:31:36 +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
Eric Warmenhoven
01a3511445
iOS: rely on core info to re-find cores from old directory structure
2025-06-04 14:52:01 -04:00
LibretroAdmin
6559f4499c
Cleanups - less settings_t pointer passing
2025-02-11 09:38:54 +01:00
LibretroAdmin
0b329018ee
Less string buffers and less string copies
2025-01-16 23:59:22 +01:00
LibretroAdmin
47d888364d
Standardize len variables - argument should always be named 'len',
...
while local len variables should have '_' prefix
2025-01-13 21:53:49 +01:00
LibretroAdmin
e081bde064
(core_info.c) Use fill_pathname where we can
2025-01-13 21:14:30 +01:00
libretroadmin
bd461a5f8e
(core_info) core_info_get_file_id - return length of written
...
string and use it to avoid strlcat
2024-12-25 19:49:26 +01:00
libretroadmin
2cfdccc085
Less string intermediary copies
2024-12-24 18:46:22 +01:00
LibretroAdmin
739f2ff55c
Reduce calls to path_remove_extension - use fill_pathname instead ( #17270 )
...
* Reduce calls to path_remove_extension - use fill_pathname instead
* More fill_pathname usage
2024-12-20 21:40:58 -08:00
Bernhard Schelling
cab85c6f8d
Menu support for loading directories as content if a core indicates supports for that ( #17142 )
...
A core needs to have "/" in its list of supported extensions to indicate support for loading directories.
If a core additionally supports the disk control interface, also support loading of directories as disk images.
2024-10-30 17:56:30 -07:00
Eric Warmenhoven
7ae8597765
macOS: Create App Store build ( #17074 )
2024-10-04 12:46:51 -07:00
libretroadmin
e675ea7e29
Variable cleanups - add TODO/FIXME notes for spurious variable sizes
2024-09-09 15:22:08 +02:00
libretroadmin
efbfe3610a
(core_info.c) Cleanups
2024-07-24 09:55:34 +02:00
libretroadmin
3f0d3ec393
Replace more strlcats
2024-06-16 19:42:51 +02:00
Eric Warmenhoven
a2a7c666fb
iOS/tvOS: some updates for packaging for app store ( #16508 )
2024-05-09 09:54:28 -07:00
sonninnos
2b8c8f1145
Core info logging reformat ( #16459 )
2024-04-23 09:53:50 -07:00
libretroadmin
bdc398d79f
- Safer code - use strlcpy where possible instead of manual character
...
assignments for strings longer than 2 chars
- Use strlcpy concatenation instead of strlcat
- Make sure that what remains of iteration of the '_len' variable
for manual char assignment
is done in a safer way so mistakes are less possible
2023-06-20 16:33:55 +02:00
libretroadmin
631301b3f7
* Cut down on strlcat calls when possible and replace them with clever
...
usage of strlcpy (when position/offset of previous strlcpy/snprintf call
is known. strlcat implementation in libretro-common makes implicit strlen
call, using strlcpy avoids this
* Reduce a bunch of local char variables by use of said clever usage,
should save up on local stack size usage
2023-06-18 12:06:12 +02:00
libretroadmin
3871ac4455
* Add FIXME LOCALIZE notes
...
* Some snprintf optimizations
2023-04-30 17:26:57 +02:00
Tatsuya79
940ad64d41
Allow bypassing savestate info files filtering ( #14906 )
2023-01-26 15:56:33 +01:00
libretroadmin
de717a50d3
Style nits
2023-01-22 16:12:27 +01:00
libretroadmin
daa9e352cc
Remove asserts
2023-01-09 00:51:05 +01:00
libretroadmin
8a3686df58
Revert "Header cleanups - don't include retroarch.h everywhere"
...
This reverts commit 0e3b478f8c
.
2023-01-08 09:05:46 +01:00
libretroadmin
0e3b478f8c
Header cleanups - don't include retroarch.h everywhere
2023-01-08 08:56:57 +01:00
libretroadmin
440c7a5ddf
core_info_list_resolve_all_extensions - just use strlcat in here
2022-12-05 13:24:47 +01:00
libretroadmin
2ade990a08
(core_info.c) Style nits/cleanups and misc
2022-12-05 12:56:55 +01:00
LibretroAdmin
61e24132bf
(task_save.c) Simplification in control flow
...
(snprintf) Try to reduce or simplify snprintf calls, only tend to
use it for processing integers/numbers and avoid it for regular
string concatenation (NOTE: we try to be a bit safer about it to
address earlier cited criticism, although we don't consider concatenating
3 or 4 characters at the end to be insecure)
(msg_hash_to_str) Try to avoid duplicate calls to the same localized
string when we can just cache the results once instead locally
2022-08-27 07:55:02 +02:00
LibretroAdmin
be9b4031d9
Remove some 'Unused variable' warnings
2022-08-26 17:10:45 +02:00
LibretroAdmin
7507e20703
Revert "(RJSON) Combine multiple consecutive rjsonwriter_raw calls into one"
...
This reverts commit 82efa5a3d6
.
2022-08-26 14:44:29 +02:00
LibretroAdmin
82efa5a3d6
(RJSON) Combine multiple consecutive rjsonwriter_raw calls into one
...
- significantly reduces the amount of function calls
2022-08-26 13:55:52 +02:00
LibretroAdmin
f48ba41b67
Remove unused variables
2022-08-23 19:41:45 +02:00
LibretroAdmin
1580dbae6b
Go about this a different way - lck and lsae are read from exts
...
instead of the string_list
2022-08-13 02:55:33 +02:00
LibretroAdmin
4a1aaa55ec
* Safer way of appending extensions at the end of the string - ( #14318 )
...
instead of this manual assignment, we can take advantage of the
string list in one of the instances to add the extensions to it.
Less string copying/concatenation that way later on as well.
* Append the extension to the string earlier before it's passed
to the leaf function that needs it
2022-08-13 01:40:45 +02:00
LibretroAdmin
d5cc01c574
Fix another assignment mistake of the NULL terminator
2022-08-09 19:28:29 +02:00
LibretroAdmin
a6e210e9db
Get rid of some strlcats
2022-08-08 22:41:32 +02:00
LibretroAdmin
b2634ea588
* Create fill_pathname_join_special - and specify fill_pathname_join
...
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
LibretroAdmin
e7f3432e48
Replace some trivial strlcat usage - use return value of preceding
...
strlcpy then simply append the extension to it at this location
2022-08-04 03:45:09 +02:00
LibretroAdmin
9d66e2d5e1
General cleanups -
...
* struct was erroneously named 'catagory' - changed to 'category'
* Removed some strlcpys that were just setting the string to a fixed constant value
* Random nits
2022-08-01 21:31:45 +02:00
LibretroAdmin
e4bff7c12c
Move rjsonwriter helper inline functions over to separate file rjson_helpers.h
2022-08-01 17:41:34 +02:00
libretroadmin
34a18f64e8
Don't do NULL termination on string when we pass the string to
...
strlcpy and/or a file_path function that does strlcpy under the hood
2022-07-23 10:46:05 +02:00
libretroadmin
e865ea83bd
* Don't NULL terminate string if we pass it to strlcpy and/or a
...
file_path function that calls strlcpy under the hood
* Replace some snprintf calls to strlcpy/strlcat
2022-07-22 22:23:54 +02:00
libretroadmin
27704a18de
Remove unused core_info_hw_api_supported
2022-07-17 08:10:01 +02:00
libretroadmin
cd36af1d24
Use NAME_MAX_LENGTH for some char array variables that have a fixed
...
width of 256
2022-07-03 13:59:23 +02:00
jdgleaver
c67806dbd7
Enable manual selection of which cores are displayed in the 'Standalone Cores' menu ( #13722 )
2022-03-09 17:49:16 +01:00