twinaphex
55d9456cbb
More static code analyzer fixes
2020-06-29 20:14:14 +02:00
twinaphex
fe14bc6e07
(core_info.c) Get rid of calloc
2020-06-29 03:46:27 +02:00
twinaphex
021625fd4a
Revert "Move static functions to top of files"
...
This reverts commit 02b542e2a57cfff798bdd4be54ec1bf0fff4695f.
2020-06-26 18:40:26 +02:00
twinaphex
02b542e2a5
Move static functions to top of files
2020-06-26 18:15:38 +02:00
twinaphex
dd2844a2ac
Convert calloc to malloc where possible
2020-06-24 19:45:09 +02:00
twinaphex
0cdea62072
(core_info.c) Try to avoid config_get_string
2020-06-24 11:57:58 +02:00
jdgleaver
160b864d32
Prevent unnecessary string duplication when parsing core info files
2020-06-22 15:03:47 +01:00
jdgleaver
80f36e16d0
Add option to selectively 'lock' (prevent modification of) installed cores
2020-06-18 17:36:33 +01:00
twinaphex
b46a316df9
(core info) Pass pointer around to some functions
2020-06-13 07:29:26 +02:00
twinaphex
34af28461f
Move core info global state to retroarch.c
2020-06-13 07:21:00 +02:00
jdgleaver
445921ac5d
Core info search optimisations + improved core selection logic + clean-ups
2020-06-06 13:59:28 +01:00
twinaphex
8b796d3b47
Add TODO/FIXME notes for globals
2020-05-29 05:27:13 +02:00
jdgleaver
9f4a9e9cd6
Core updater improvements
2020-05-27 17:02:43 +01:00
Francisco Javier Trujillo Mata
1eeb3dcf30
Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing)
2020-05-20 20:13:19 +02:00
jdgleaver
9eb8472805
Only write config files to disk when parameters change
2020-04-27 17:06:35 +01:00
twinaphex
05cf2ee8ba
(core_info.c) Move globals to single struct
2020-03-06 18:13:36 +01:00
twinaphex
4493ece2f2
Cleanup
2020-02-16 20:27:22 +01:00
twinaphex
e54e12876b
Header cleanups
2020-01-25 17:51:07 +01:00
twinaphex
b94b9e2adb
Go back to plain strlcpy/strlcat - probably best to look at
...
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex
76f4cf5cc5
Start using STRLCAT_CONST/STRLCAT_CONST_INCR/STRLCPY_CONST
2019-09-20 20:39:34 +02:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
twinaphex
ab515daa0c
Try to get rid of file_path_str
2019-09-18 18:12:57 +02:00
twinaphex
ed77d46cc9
Cut down on some strlcat usage where not necessary
2019-09-18 04:58:52 +02:00
Twinaphex
753be84ae0
(Apple) Silence some warnings
2019-09-14 17:15:30 +02:00
twinaphex
96ba8b6928
Cleanups
2019-08-10 04:34:15 +02:00
Brad Parker
80cb762cdb
samples/tasks/database buildfix
2019-07-29 16:30:53 -04:00
twinaphex
95c5d22c5a
Split up mmdevice enumeration string list to separate
...
file
2019-07-25 05:42:23 +02:00
Brad Parker
2db48d39f4
fix comparison
2019-07-23 23:05:09 -04:00
Brad Parker
61ab9249fc
add "required hw api" to core info files, block content loading if core is incompatible with current graphics API/version
2019-07-23 22:44:45 -04:00
twinaphex
c85707336b
Fix LGTM warning - declaration hides parameter
2019-07-18 19:07:27 +02:00
twinaphex
41a2fabb4e
Create config_file_new_from_path_to_string
2019-07-18 12:03:50 +02:00
twinaphex
a465971556
core_info_get_display_name - use config_file_new_from_string
2019-07-18 00:43:03 +02:00
twinaphex
319e708738
core_info_list_iterate - use config_file_from_string
2019-07-16 19:01:43 +02:00
jdgleaver
0be44e57ad
Overhaul default playlist core association
2019-06-26 17:42:26 +01:00
twinaphex
d9b4afe04a
Quick buildfix
2019-05-10 18:34:18 +02:00
twinaphex
74388d8490
Remove string_concat
2019-05-10 18:05:58 +02:00
twinaphex
b270ea6b79
Revert "(MSVC 2003) core_info - remove all_ext from heap - fixes crash with MSVC2003"
...
This reverts commit 50a57b03a18b52636debae5f4132791ad8a96db2.
2019-05-10 08:31:18 +02:00
twinaphex
50a57b03a1
(MSVC 2003) core_info - remove all_ext from heap - fixes crash with MSVC2003
...
and makes for easier code
2019-05-05 14:23:29 +02:00
twinaphex
cce4aa9c86
(core_info.c) Use string_concat for constants
2019-05-01 00:21:50 +02:00
twinaphex
bc2bdd5734
config_file_read not needed anymore
2019-04-30 13:37:10 +02:00
Twinaphex
1819584d74
(General) Fix some warnings
...
(OSX) Add HAVE_STB_FONT
2019-04-30 11:38:47 +02:00
twinaphex
3b24565b66
Be more careful with dangling pointer
2019-04-28 10:17:03 +02:00
twinaphex
2b5b67d663
Simplify core_info code
2019-04-28 05:15:21 +02:00
twinaphex
5044537625
(core_info.c) Small opts for core_info.c
2019-04-27 14:23:07 +02:00
twinaphex
2c47d571aa
Use path_is_valid instead of filestream_exists when we only
...
need to know if a file exists on the filesystem
2019-04-27 14:01:50 +02:00
twinaphex
3e72c502a8
strlen optimizations :
...
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex
7201d0bf22
Revert "Use path_is_valid instead of filestream_exists where possible -"
...
This reverts commit 88e3abd6fd2f151593ee5fe99f55cc63cf8fe0c7.
2019-04-26 13:46:21 +02:00
twinaphex
88e3abd6fd
Use path_is_valid instead of filestream_exists where possible -
...
stat should be faster than fopen
2019-04-26 13:33:25 +02:00
twinaphex
16e2db25c4
Prefer config_file_read instead of config_file_new when we are
...
sure the path cannot be a directory path
2019-04-22 01:23:50 +02:00
twinaphex
69168ec6bc
Core info list iteration was calling path_stat two times on the same
...
paths - unnecessary file I/O is an issue with UWP/WinRT so let's cut
this down to only one path_stat. config_file_read function created -
acts the same as config_file_new except it doesn't check if the path
provided is actually a directory, which in turn would lead to another path_stat call
2019-04-22 01:13:19 +02:00