LibretroAdmin
b4cf279b80
Fix gdi_find_track prototype
2024-12-30 10:13:05 +01:00
LibretroAdmin
56c63b8c19
Small cleanups - conventionalize char *s, size_t parameter usage
2024-12-30 09:44:40 +01:00
LibretroAdmin
3e6486db2b
Small cleanups (Task_database_cue.c)
2024-12-29 00:25:22 +01:00
libretroadmin
99c7e08445
Don't use string_trim_whitespace
2024-12-23 00:51:01 +01:00
Viačasłaŭ
3019b926c2
Fix typos ( #17068 )
2024-10-01 17:36:33 -07:00
libretroadmin
b8391e233f
* PATH_MAX_LENGTH redefined from 4096 to 2048
...
* Massive reduction in heap space allocation, going from settings struct
264kb to 119Kb
* Use NAME_MAX_LENGTH for base paths/names, etc
* Use DIR_MAX_LENGTH for directory sizes
2024-09-09 05:47:32 +02:00
libretroadmin
a6c82df0fd
(task_database) Use size_t for size to prevent narrowing issue
2024-05-24 03:33:20 +02:00
libretroadmin
bd090dea71
Replace more strlcat calls
2023-07-16 18:07:49 +02:00
libretroadmin
c92d7d3071
(task_database_cue.c) Simplifications
2023-06-20 20:07:44 +02: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
kikmon
d446f39c63
[PS1 Scanning] Serial extraction is now considered a failure if PSX.EXE is found, allowing CRC fallback and actually fixing the game scanning ( #15241 )
...
Co-authored-by: papa <anonymous>
2023-04-30 23:36:50 +02:00
libretroadmin
04f510d503
Cleanup header includes
2022-12-05 15:10:19 +01:00
AKuHAK
c3914d1c85
(database) Added serial scanning for PS2 ( #14566 )
...
reworked ps1 magic numbers
PS1 scan: fixed not scanned LSP titles, added PSX.EXE titles, extended ps1 serial variations
2022-10-30 17:21:48 +01:00
Bobby Smith
82cac0f9ba
Fix Redump bin/cue scan for some DC games + add RVZ/WIA scan support for GC/Wii ( #14380 )
2022-09-06 01:52:01 +02:00
LibretroAdmin
003cea5d42
Fix some 'implicit conversion loses precision' warnings
2022-09-01 15:15:48 +02:00
LibretroAdmin
f5ac33c0b6
Simplify task_database_cue.c code -
...
* Was copying pre_game_id into several memory buffers for no real reason,
gets rid of some unnecessary strncpy calls this way too
2022-08-25 07:15:27 +02:00
LibretroAdmin
88187e7ef2
* Start getting rid of strncpy
...
* steam.c - cleanups:
* Use string_to_lower from libretro-common/stdstring.c instead of
its own version
* Some stylistic changes
* Rewrite strncpy calls into strlcpy/strlcat/manual assignment
* Make it C89 compliant
* Some unused variables
2022-08-25 06:51:39 +02:00
LibretroAdmin
8017410098
task_database_cue_get_token - correct to 'if (rv < 0)' instead
2022-08-25 05:52:42 +02:00
LibretroAdmin
c841e191f7
(task_database_cue.c) Put this conditional back
2022-08-25 05:36:48 +02:00
LibretroAdmin
39241699a0
Drop errno dependency in database_cue_get_token - was some legacy
...
code that is probably not needed
2022-08-25 04:51:00 +02:00
lucasmr
808fc7f389
Refactor task_database_cue.c ( #14349 )
2022-08-25 04:42:23 +02:00
LibretroAdmin
56a6c50728
(task_database_cue.c) Get rid of some strcmps
2022-08-24 16:32:55 +02:00
LibretroAdmin
c79904f8b3
(task_database_cue.c) More simplifications
2022-08-24 16:21:45 +02:00
LibretroAdmin
f2d8b67f23
(task_database_cue.c) Simplifications:
...
- unsafe strcpy/strcat/sprintf were used, so pass 'len' parameters
to detect_{system} functions so that we can use the safer strlcpy/strlcat
calls instead
- thanks to strlcat/strlcpy return values, we can do less string concatenations
and get the same results
- some other miscellanous cleanups
2022-08-24 16:08:06 +02:00
LibretroAdmin
fdc563e6f7
Remove errno dep (task_database_cue.c) ( #14341 )
...
* (task_database_cue.c) Turn some functions static - some general cleanups
* Start removing errno dependency on task_database_cue.c
2022-08-24 15:15:21 +02:00