3036 Commits

Author SHA1 Message Date
twinaphex
a2f2a882cb Cleanups 2020-06-29 21:06:21 +02:00
twinaphex
b93c3b36ed Prevent more static code analysis warnings 2020-06-29 20:34:47 +02:00
twinaphex
5cfc4defc6 (libretro-common) Prevent more static code analysis warnings 2020-06-29 20:31:14 +02:00
twinaphex
55d9456cbb More static code analyzer fixes 2020-06-29 20:14:14 +02:00
twinaphex
672deef31a Prevent static code analyzer complaining about potential
memory leaks
2020-06-29 20:06:37 +02:00
twinaphex
6318e11027 Try to prevent static code analyzer warning about potential leak 2020-06-29 20:02:28 +02:00
twinaphex
28399641da task_queue_put - prevent dereference of null pointer 2020-06-29 19:57:52 +02:00
twinaphex
316914cb45 Prevent another static code analysis warning 2020-06-29 19:23:45 +02:00
twinaphex
c7bb666214 CRITICAL_SECTION implementation can differ - use calloc here 2020-06-29 14:19:50 +02:00
twinaphex
03b232552e (MSVC) Buildfix 2020-06-29 13:53:40 +02:00
Twinaphex
fc2e11d4b7 Fix pthread codepath 2020-06-28 23:31:44 +02:00
twinaphex
a833c5f4a6 Cleanups in audio mixer code 2020-06-28 23:24:00 +02:00
twinaphex
6d50ac7cb7 Cleanups 2020-06-28 22:59:51 +02:00
twinaphex
47d93f7fb1 (formats/xml) Cleanups 2020-06-28 22:30:53 +02:00
twinaphex
5a0bc479b1 (libretro-common) Avoid more callocs 2020-06-28 20:57:00 +02:00
twinaphex
1a625f32e8 Update 2020-06-28 20:40:43 +02:00
twinaphex
595c8ce5d0 (libretro-common/streams) Cleanups 2020-06-28 20:32:23 +02:00
twinaphex
3dafbb8487 (libretro-common) Use malloc 2020-06-28 06:52:02 +02:00
twinaphex
3541b2aa0e task_init - use malloc 2020-06-28 06:41:07 +02:00
twinaphex
c1c3f75804 dir_list_read - avoid two strcmps 2020-06-27 22:26:20 +02:00
twinaphex
6085ed358d (RPNG) Use malloc 2020-06-27 21:09:29 +02:00
twinaphex
5783494e13 (libretro-common) Cleanups 2020-06-27 14:55:08 +02:00
twinaphex
c3f8b7741c Add fallback paths for nbio_stdio.c 2020-06-27 14:07:41 +02:00
twinaphex
c1275cc83d Cleanups 2020-06-27 13:58:15 +02:00
twinaphex
b0b588a56a (VFS) Add fseeko/ftello support 2020-06-27 13:41:59 +02:00
twinaphex
1b86ea43c3 Try to use vsnprintf where possible instead of vsprintf 2020-06-26 20:56:14 +02:00
twinaphex
1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex
fa50695b89 Cleanups 2020-06-26 19:25:53 +02:00
twinaphex
966348327d Cleanups 2020-06-26 19:07:38 +02:00
twinaphex
08a1a21d71 (libretro-common) Cleanups 2020-06-26 15:26:52 +02:00
twinaphex
b39ef98d2a Small optimization 2020-06-26 14:45:48 +02:00
twinaphex
2f235f0abb Cleanups 2020-06-25 23:16:08 +02:00
jdgleaver
b6364407fd Optimise parsing of configuration files 2020-06-25 15:15:08 +01:00
twinaphex
de36ff20fb Create string_ends_with_size 2020-06-25 14:38:06 +02:00
twinaphex
e727e85b1d Updates 2020-06-25 14:01:19 +02:00
twinaphex
aa48eeb98e Turn path_default_slash uppercase, and do some optimizations 2020-06-25 13:36:01 +02:00
twinaphex
601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
twinaphex
35527c24c3 Revert "Optimize config_get_bool"
This reverts commit 1c38dc67c28c3537a1f841a127e3bfc2ff55ee09.
2020-06-25 12:08:36 +02:00
jdgleaver
9c2b6dffc2 (config_file) Fix handling of comments at the end of config file lines 2020-06-25 10:29:40 +01:00
twinaphex
1c38dc67c2 Optimize config_get_bool 2020-06-25 03:03:42 +02:00
twinaphex
8fccac666e Use STRLEN_CONST where possible 2020-06-24 22:57:41 +02:00
twinaphex
198df77c29 Update 2020-06-24 20:18:06 +02:00
twinaphex
472bb775ee retro_vfs_file_open_impl - avoid two strlens at start 2020-06-24 20:17:09 +02:00
twinaphex
7cac61e5eb Use malloc instead of calloc when possible 2020-06-24 18:52:42 +02:00
twinaphex
74b3b505c9 This part of the code looked suspicious and was leaking memory
for one codepath
2020-06-24 18:39:21 +02:00
twinaphex
3a4af3149b (libretro-common) Use malloc instead of calloc when possible 2020-06-24 17:35:02 +02:00
twinaphex
53f3199652 Reordered this code somewhat 2020-06-24 15:40:42 +02:00
jdgleaver
9b22874c73 (config_file) Optimise parsing of 'comment' lines in configuration files 2020-06-24 14:31:46 +01:00
twinaphex
b9f65af98a (Libretro-common) Sync 2020-06-24 15:05:03 +02:00
twinaphex
0cdea62072 (core_info.c) Try to avoid config_get_string 2020-06-24 11:57:58 +02:00