twinaphex
044209bc5a
Create string_separate_noalloc
2020-08-26 23:46:16 +02:00
twinaphex
61c94fe248
Simplify string_list_new/string_list_initialize
2020-08-26 17:50:18 +02:00
jdgleaver
7a07cc1305
Fix 'Set Core Association' regression
2020-08-26 15:18:39 +01:00
twinaphex
662e37f670
Replace more instances of string_split
2020-08-26 13:35:05 +02:00
twinaphex
6df62bbccc
Create string_split_noalloc
2020-08-26 03:20:42 +02:00
twinaphex
a32d027f76
string_list_initialize - call deinitialize when function fails
2020-08-26 02:28:10 +02:00
jdgleaver
179e77c8b0
(string_list_join_concat) Prevent undefined behaviour if input string buffer is unterminated
2020-08-25 15:54:18 +01:00
twinaphex
8a479e6006
Create dir_list_initialize/dir_list_deinitialize
2020-08-24 18:56:25 +02:00
twinaphex
91cfcd1b83
Improve string_list_deinitialize
2020-08-24 15:11:38 +02:00
twinaphex
7a6b9fd1b2
(Ozone) Horizontal list - put on stack - it's already on heap-allocated
...
struct as is
2020-08-24 10:22:32 +02:00
twinaphex
93fa9a0194
Add file_list_deinitialize - does everything that file_list_free
...
does except for freeing the passed struct pointer
2020-08-24 01:45:45 +02:00
twinaphex
0a69d14b11
Reimplement slang_preprocess_parse_parameters
2020-08-24 00:54:24 +02:00
twinaphex
cd6e1cf3fa
(libretro-common) string_list - add string_list_initialize
...
and string_list_deinitialize - takes a pointer to initialize
and deinitialize a string list, but importantly does not
implicitly allocate and deallocate the string list pointer
itself. This way, string lists can be put on the stack instead
of always implicitly being put on heap - the struct itself is
small enough to fit on stack
2020-08-24 00:43:55 +02:00
twinaphex
c1c3f75804
dir_list_read - avoid two strcmps
2020-06-27 22:26:20 +02:00
twinaphex
7cac61e5eb
Use malloc instead of calloc when possible
2020-06-24 18:52:42 +02:00
twinaphex
cd9ca691ca
(libretro-common) Update copyright
2020-01-31 15:43:42 +01:00
twinaphex
d8860104d3
Get rid of file_list_get_alt_at_offset
2019-08-20 06:13:33 +02:00
jdgleaver
5ac152a5f3
(glslang_util) Remove C++ 'isms' (where possible)
2019-08-12 13:10:50 +01:00
twinaphex
ce37405d29
(DirectSound) Add audio device selection - can set audio_device
...
either by name or by index
2019-07-26 02:36:41 +02:00
Brad Parker
9a52595ce3
cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry
2019-07-03 14:19:32 -04:00
twinaphex
77e7bc7a1c
Move stirng_list_clone to libretro-common
2019-06-09 06:10:28 +02:00
twinaphex
15e7078361
string_list_free - try to be safer
2019-05-22 05:28:41 +02:00
twinaphex
bcb474b3a3
(runahead) Cleanups - create core_free_game_info and move it to
...
core_impl.c - get rid of free_string_list and just reuse
string_list_free
2019-05-22 04:04:58 +02:00
twinaphex
9f297f5f7c
Cleanups
2019-05-19 05:50:28 +02:00
twinaphex
63d9d4e2d3
(menu entries) Cleanups
2019-05-13 04:05:11 +02:00
twinaphex
bae73a0ccc
Revert "(dir_list) Use string_is_equal_memcmp_fast"
...
This reverts commit c8ad747a46fd721e190825032a176203c471a41c.
2019-04-29 04:03:57 +02:00
twinaphex
c8ad747a46
(dir_list) Use string_is_equal_memcmp_fast
2019-04-28 19:05:51 +02:00
twinaphex
e1b11593fc
(file_list.c) Cleanups/optimizations
2019-04-27 07:32:40 +02:00
twinaphex
890e1eb064
(file_list.c) file_list_expand_if_needed - unroll this function
2019-04-27 07:21:50 +02:00
twinaphex
cec858748f
(dir_list) Optimize dir_list_read
2019-04-26 08:23:56 +02:00
twinaphex
1433a587b2
(dir_list) Simplify parse_dir_entry
2019-04-26 07:54:37 +02:00
twinaphex
ad03ac055d
dir_list - simplify dir_list_append
2019-04-26 06:36:55 +02:00
Twinaphex
076a0d2f56
(OSX) Code analysis cleanups
2019-04-08 23:13:39 +02:00
twinaphex
45b1ed33b2
(MSVC) Silence warning
2019-02-06 23:42:13 +01:00
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
krzys-h
e6fc4220fa
Revert "Revert "VFS v3: stat, mkdir, directory listings""
...
This reverts commit a549e28f0101cf42b6ee6ef4834ddcf983f0b448.
2019-01-16 21:01:29 +01:00
Twinaphex
a549e28f01
Revert "VFS v3: stat, mkdir, directory listings"
2019-01-16 03:53:34 +01:00
krzys-h
4b2278688b
Unix buildfix for dirent_is_directory
2019-01-13 14:49:01 +01:00
krzys-h
109de0bebb
VFS v3: stat, mkdir, directory listings
2019-01-13 00:33:24 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
krzys-h
48d82929ff
(UWP) Add support for loading cores from optional packages
2019-01-01 16:21:47 +01:00
twinaphex
768ebbfdb5
Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common'
2018-05-12 17:56:34 +02:00
twinaphex
0548349991
Remove libretro-common
2018-05-12 17:56:14 +02:00
twinaphex
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
i30817
7e43db9cf1
fix scanner skipping directories with dots
2018-03-30 06:15:10 +01:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
bparker06
97f995218f
Update vector_list.c
2017-10-02 19:19:12 -04:00
Brad Parker
2bb20a0b4f
add generic vector_list for custom types, use it to remove std::vector from D3D9 Cg renderchain
2017-10-02 19:19:12 -04:00
Higor Eurípedes
d40deb737d
(file_list.c) Add file_list_reserve()
2017-09-03 14:58:01 -03:00