Commit Graph

78 Commits

Author SHA1 Message Date
LibretroAdmin b2634ea588 * Create fill_pathname_join_special - and specify fill_pathname_join
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
twinaphex f06b9ecf06 Revert "Reduce character arrays passed to fill_pathname_base"
This reverts commit a4a7c3bedf.
2021-11-10 08:21:59 +01:00
twinaphex a4a7c3bedf Reduce character arrays passed to fill_pathname_base 2021-11-10 00:57:32 +01:00
twinaphex 3ac75c043e Jdgleaver improvements 2020-11-20 03:55:55 +01:00
twinaphex f1d0de85fd Use strcpy_literal for string literals 2020-09-21 00:27:31 +02:00
jdgleaver a39d6240a6 (Salamander/static builds) Move 'libretro_path' value from 'retroarch.cfg' to independent config file 2020-09-05 13:23:20 +01:00
twinaphex 855351de9e Reorder g_defaults, alignment 2020-08-16 04:38:02 +02:00
twinaphex 85d64602ff Move retroarch_get_launch_arguments() function call outside
of frontend driver - should be called by Salamander too which
has no conception of RetroArch launch arguments
2020-02-01 17:42:18 +01:00
LazyBumHorse 719555bae1 Overhaul shader loading logic, add --set-shader CLI option 2019-08-17 15:20:51 +02:00
twinaphex a6d6c21e52 Rename config_file_new_null to config_file_new_alloc 2019-07-17 19:50:32 +02:00
twinaphex 0c31437c24 Create config_file_new_null 2019-07-17 18:27:53 +02:00
twinaphex bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
twinaphex 317a443741 Use config_file_read in more places 2019-04-22 02:10:12 +02:00
orbea 849259d8f6 libretro-common: Sort config file conditionally.
This allows optionally sorting configure files and is needed to fix the
order of inputs in the autoconfig profiles which should not be sorted
alphabetically.

Fixes https://github.com/libretro/RetroArch/issues/7873
2019-01-03 15:28:32 -08: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
twinaphex ccba9635b6 Update the way default directories are handled 2017-05-23 19:43:58 +02:00
twinaphex aea00f1e00 Use memcmp instead of string_is_equal for more instances 2017-04-23 12:17:51 +02:00
aliaspider 8f88d8fb4d (WiiU) implement the missing requirement for core loading: exec,
exitspawn, set_fork and salamander.
2017-01-25 19:52:31 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex eeae9a186f Revert "Use string_is_equal"
This reverts commit 49a290c3e6.
2016-10-04 10:29:32 +02:00
twinaphex 49a290c3e6 Use string_is_equal 2016-10-04 10:24:17 +02:00
twinaphex 35c2c11a91 (frontend_salamander.c) Cleanup 2016-09-29 20:18:45 +02:00
twinaphex 80d577094c Use config_file_exists 2016-09-18 21:57:51 +02:00
twinaphex f395e851c4 Use stdstring.h 2016-09-16 17:25:47 +02:00
twinaphex d130007ae5 Header include cleanups 2016-09-11 18:08:58 +02:00
Brad Parker 4e2596c0bd update dir_list_new invocation for salamander 2016-08-28 00:14:50 -04:00
twinaphex 0ca142faf4 (frontend_salamander.c) Update dir_list_new reference 2016-08-21 14:14:37 +02:00
twinaphex 7775471a8f (Salamander) If core_path is 'builtin', just fall back and start
up first libretro core executable we can find
2016-07-31 21:24:40 +02:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex 4a3263986b Style nits 2016-02-03 15:30:17 +01:00
twinaphex 7e4f17ef8d (PS3) Fix build 2016-02-03 15:23:13 +01:00
twinaphex 0e7729c660 Create frontend_driver_get_salamander_basename 2016-02-03 13:36:00 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 624ed06a37 Cleanups 2016-01-02 01:38:02 +01:00
twinaphex c7eeb557fa (frontend) Start using string_is_empty 2015-12-26 07:45:19 +01:00
twinaphex 6a6b230d8e (Wii) Fixups 2015-11-29 01:57:16 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 0676738140 Console build fixes 2015-09-01 12:10:26 +02:00
CautiousAlbino 173dcd3e4c Retry implementation of include_compressed to dir_list_new.
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
Twinaphex aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +02:00
CautiousAlbino c4691b2668 Add include_compressed param to dir_list_new.
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
twinaphex a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex 7f8a2bef79 (Salamander) Some spurious code where it tries to use 'len'
instead of 's'
2015-06-08 00:33:49 +02:00
twinaphex 0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
twinaphex be6ce5fb34 Get rid of some more useless casts 2015-05-24 05:10:09 +02:00
twinaphex 64903de465 Rename frontend_context.c to frontend_driver.c 2015-01-12 21:21:08 +01:00
twinaphex 99c9afa5cd Update PATH_MAX to PATH_MAX_LENGTH 2015-01-09 18:04:29 +01:00
twinaphex 453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex 0b95e3f2d7 (XDK1) C89 build fixes for config_file.c - Salamander build fixes 2014-10-22 03:52:23 +02:00
twinaphex 174d011bed Move dir_list to SDK 2014-10-22 01:13:05 +02:00