Commit Graph

91 Commits

Author SHA1 Message Date
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 c8ad747a46.
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 a549e28f01.
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
twinaphex 3a141cb891 Create retro_dirent_include_hidden 2017-07-04 04:09:45 +02:00
twinaphex e58eee37bc Cleanups 2017-06-28 05:44:59 +02:00
twinaphex 688414c5bb Get rid of some retro_assert usage 2017-06-26 05:38:51 +02:00
aliaspider ad7cb85fcc cannot assume the buffer size here. 2017-05-24 09:21:28 +01:00
twinaphex b4f0ebca4d Cleanups 2017-05-20 17:55:26 +02:00
twinaphex b009b87530 Make this check a bit faster 2017-05-20 17:54:06 +02:00
twinaphex 1ac44d8eca Fix hidden directories/files no longer showing up 2017-05-20 17:45:02 +02:00
twinaphex 8eca08c6ac Start using string_is_equal_fast/string_is_not_equal_fast macros
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex dd1da5154f Better implementation of string_is_equal_noncase and fix bug
in string_list
2017-04-21 14:53:01 +02:00
twinaphex 607ae71259 Turn string_is_equal_noncase into self-contained function 2017-04-21 14:17:47 +02:00
twinaphex 82c62b1693 Use stdstring in more instances 2017-04-21 13:50:24 +02:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00