Commit Graph

248 Commits

Author SHA1 Message Date
twinaphex 519e4e038a Update core_info_find 2016-07-09 21:51:16 +02:00
twinaphex b593e73896 Use fill_pathname_base_noext 2016-06-28 13:10:34 +02:00
twinaphex e162882406 (core_info.c) Use file_path_str 2016-06-28 08:57:01 +02:00
twinaphex 32c4f74f7d More translatable strings 2016-06-20 04:23:00 +02:00
twinaphex 858aae10cb Fix unchecked return value warnings 2016-06-02 23:00:11 +02:00
twinaphex ffdad57318 Fix double frees and resource leaks 2016-06-01 02:40:58 +02:00
twinaphex a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex 4f98cf05f4 Fix uninitialized scalar variable warnings 2016-05-26 17:32:27 +02:00
twinaphex bfa6f49ae6 Fix logically dead code warnings 2016-05-24 22:12:51 +02:00
twinaphex d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex 5e5bb8e39b Remove logically dead code 2016-05-23 21:48:50 +02:00
twinaphex 2855526566 core_info.c 'logically dead code' fix 2016-05-23 21:48:24 +02:00
twinaphex 7ba97e8703 Remove core_info_ctl 2016-05-09 18:11:17 +02:00
twinaphex 65dec874a8 Move some path settings 2016-04-28 19:52:25 +02:00
twinaphex 7dffc6286b Internally change directory settings 2016-04-28 19:26:02 +02:00
twinaphex ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex c7e13e2bcd (libretro-common) Rename file_archive to archive_file 2016-03-20 16:14:40 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex e9a0aba85b Silence bunch of warnings and fix an error 2016-03-04 19:42:30 +01:00
twinaphex 36b420ec17 Revert "Remove core_info_list_num_info_files"
This reverts commit 9d96e9e452.
2016-02-11 07:20:04 +01:00
radius 8a043a9c6d Revert "Cleanups"
This reverts commit f7d47bb956.
2016-02-10 21:50:54 -05:00
twinaphex 76b726d154 Cleanup 2016-02-07 19:02:09 +01:00
twinaphex 81c4160a5a Cleanups 2016-02-07 19:01:17 +01:00
twinaphex eb33197a9b Cleanup core_info_get_name - reuse core_info_list_iterate 2016-02-07 18:32:56 +01:00
twinaphex c7b9625460 Create core_info_list_iterate 2016-02-07 18:27:27 +01:00
twinaphex f7d47bb956 Cleanups 2016-02-07 18:19:58 +01:00
twinaphex d384cb351f Cleanup 2016-02-07 17:40:42 +01:00
twinaphex a1ee49bf1d Cleanups 2016-02-07 17:39:10 +01:00
twinaphex 496a69c796 Cleanup 2016-02-07 17:35:52 +01:00
twinaphex fac18641cd Turn function static 2016-02-07 17:34:22 +01:00
twinaphex d3b9356958 Create CORE_INFO_CTL_LOAD 2016-02-07 17:26:10 +01:00
twinaphex b647e8186d Create CORE_INFO_CTL_LIST_UPDATE_MISSING_FIRMWARE 2016-02-07 16:19:02 +01:00
twinaphex 452df47c14 Remove core_info_list_get_all_extensions 2016-02-07 16:10:42 +01:00
twinaphex 9d96e9e452 Remove core_info_list_num_info_files 2016-02-07 16:03:53 +01:00
twinaphex 04591cfc5c Header cleanups 2016-02-07 13:10:04 +01:00
twinaphex ff90a13a5e Turn core_info_does_support_any_file static 2016-02-07 12:59:50 +01:00
twinaphex 418fb62cfc Cleanups 2016-02-07 12:55:21 +01:00
twinaphex 6576348198 Turn core_info_does_support_file static 2016-02-07 12:53:45 +01:00
twinaphex bd56e0c02e Turn some functions static 2016-02-07 12:51:45 +01:00
twinaphex 487b295182 Turn core_info_find into static function 2016-02-07 02:53:00 +01:00
twinaphex 9e9723e721 Create CORE_INFO_CTL_FIND 2016-02-07 02:50:16 +01:00
twinaphex 490c023fe3 Add core_info_ctl actions 2016-02-07 02:37:57 +01:00
twinaphex 7a01fb1616 Create CORE_INFO_CTL commands 2016-02-07 02:24:08 +01:00
twinaphex e1bd5ca335 Create core_info_ctl 2016-02-07 02:18:26 +01:00
twinaphex fbcad4e117 (core_info.c) Respect 80-char width limit 2016-02-07 01:15:10 +01:00
twinaphex 0643b83f7d Header include changes 2016-02-05 13:57:08 +01:00
twinaphex 3c2a45d923 Rename file_extract functions 2016-01-24 07:42:46 +01:00
twinaphex 552e78c9bc Rename file_extract to file_archive 2016-01-24 07:29:11 +01:00
twinaphex 63e2d13b8f Create string_is_equal_noncase - try not to use strcasecmp so much 2016-01-20 17:34:19 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex a8590e656e Take out header include core_info.h from runloop.h 2015-12-11 13:56:00 +01:00
twinaphex 159fe58926 Move core info list to runloop_ctl 2015-12-11 13:51:17 +01:00
twinaphex e1331fa6a5 CXX_BUILD fixes 2015-12-10 14:05:56 +01:00
twinaphex 91cf0508fe core_info.c - Refactor 2015-12-06 20:44:21 +01:00
twinaphex e7c842ae1f core_info_list_get_all_extensions - check if global is non-NULL
instead
2015-11-20 13:53:19 +01:00
twinaphex bca0edce49 Cleanups 2015-11-20 08:42:33 +01:00
twinaphex 04ec34a35d core_info_get - cleanups 2015-11-20 08:41:46 +01:00
Jean-André Santoni fe02f2ab86 Implement core assignation switching 2015-11-20 05:20:13 +07:00
twinaphex da1931ad9f First working implementation of playlist associations 2015-10-31 17:44:42 +01:00
twinaphex 9e2dc0745e Add param to dir_list_new_special 2015-10-26 21:30:58 +01:00
Twinaphex c8b041ef7d Simplify core_info_list_get_all_extensions 2015-09-14 23:33:50 +02:00
twinaphex e1c1917ed5 Cleanup headers 2015-09-05 19:24:21 +02:00
twinaphex 4ebfe7a779 Cleanups 2015-09-04 21:11:00 +02:00
twinaphex 5705c30b95 Pointers set by config_get_string need to be freed 2015-07-12 21:14:41 +02:00
radius 0708e585e3 change to display name only, looks like the core picker, needs to be ordered by name though 2015-07-12 03:22:11 -05:00
radius b7e2755e2b change to display name, looks better 2015-07-12 03:18:24 -05:00
radius b77353e348 add system name to core updater list 2015-07-12 03:15:42 -05:00
twinaphex 80899d45d2 Cleanup some other small leaks to do with config_get_string 2015-07-09 20:16:30 +02:00
twinaphex c1503e8bf0 (libogc) Buildfix 2015-07-04 19:01:55 +02:00
twinaphex c7d9f2f7e8 Show prettified core info display names in Core Updater 2015-07-04 18:57:04 +02:00
twinaphex 3417d98405 (General) Cleanups 2015-06-13 03:06:11 +02:00
Twinaphex 66c006d1d8 (core_info.c) Buildfix 2015-05-26 09:06:02 +02:00
twinaphex 18e68918f3 core_info_get_name and content_playlist_update 2015-05-26 06:28:16 +02:00
twinaphex 095683b2e0 Start using dir_list_new_special at more places 2015-05-24 04:39:16 +02:00
Higor Eurípedes 2309fea406 (Core Info) Free info->core_name too 2015-04-25 21:42:46 -03:00
twinaphex 0aeb6d2c45 (core_info.c) core_info_list_resolve_all_firmware - add early continue if pointer
is NULL
2015-04-04 21:26:49 +02:00
twinaphex c26804335b (libretro-common) Move file_extract.c to libretro-common 2015-03-28 20:14:19 +01:00
twinaphex f130b00596 Updates pt. 3 2015-03-20 22:08:36 +01:00
aliaspider 4317c4f1cb (PSP) fix build.
add 7-zip support.
fix cores filenames detection in core_info_list_new.
use sceRtcGetCurrentTick instead of the less precise gettimeofday for
the performance counter.
2015-02-25 13:30:46 +01:00
twinaphex e866c213b0 core_info_resolve_all_extensions - cleanup 2015-02-05 18:34:31 +01:00
twinaphex 6067deb1e9 Refactor away compressed_zip_file_list_new 2015-01-30 20:41:54 +01:00
twinaphex 4fc37d4f25 Add database info to core_info.c 2015-01-25 08:21:02 +01:00
twinaphex ed3f28b4cf Remove unused core_info_list_get_by_id 2015-01-16 02:14:23 +01:00
twinaphex 5f611f7270 More documentation for input_common.c 2015-01-12 04:19:57 +01:00
twinaphex 935c02bf2d (core_info.c) Some simplifications 2015-01-11 07:37:02 +01:00
twinaphex 11c4f04d13 (core_info.c) Minor cleanups 2015-01-10 04:10:02 +01:00
twinaphex 0bcbf5d972 Cleanups 2015-01-09 15:33:58 +01:00
twinaphex 1d689f69b8 Add documentation 2015-01-08 03:58:14 +01:00
twinaphex 90076c5fad Start using MAX_PATH_LENGTH - relying on MAX_PATH for 360 can cause
problems because it's defined at '260' and thus too small for some
strings
2015-01-07 20:42:36 +01:00
twinaphex 453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex 969fc38c42 Core Information - add Core Name / System Manufacturer 2014-12-15 01:59:32 +01:00
twinaphex f2dd126948 Add Categories and System info to 'Core Information' 2014-12-14 20:51:53 +01:00
twinaphex 1a1c9aaeb3 Revert "Sort cores directly in core_info_list_new, so Lakka and XMB get a sorted core list"
This reverts commit d8d6984cd2.
2014-12-12 20:25:57 +01:00
Jean-André Santoni d8d6984cd2 Sort cores directly in core_info_list_new, so Lakka and XMB get a sorted core list 2014-12-09 17:31:11 +07:00
twinaphex df24bf204c Remove core_info_get_first_custom_config - no longer used 2014-11-08 15:16:25 +01:00
twinaphex 174d011bed Move dir_list to SDK 2014-10-22 01:13:05 +02:00
twinaphex 9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
twinaphex 42bb37816e Take file_path.h include out of file.h 2014-10-20 21:51:04 +02:00
twinaphex ba11aa1312 Reimplement core_info_get_first_custom_config 2014-10-18 07:47:51 +02:00
twinaphex e0f5fb4c20 Reimplement core_info_list_get_by_id - now takes an out parameter
and returns true or false
2014-10-18 07:44:41 +02:00
twinaphex f0d9fde5b6 Take out the old bad iOS-specific core info list shenanigans 2014-10-18 07:01:06 +02:00
Timo Strunk 9e38cb4c93 Removed zip as default extension from core info 2014-09-12 19:09:21 +02:00
Jean-André Santoni dee1890d9a (Lakka) Handles cores that support no games 2014-09-10 01:49:51 +02:00
twinaphex b42ed89d23 Show License in Core Information menu 2014-09-08 20:18:36 +02:00
Higor Eurípedes dca17dca0f (core_info) Solve info->systemname memleak 2014-09-06 14:29:46 -03:00
twinaphex e84e255013 Cleanups, 80-char limit 2014-09-02 05:10:54 +02:00
twinaphex 72e556083c Rename core_info_has_custom_config to core_info_get_custom_config 2014-08-18 13:01:31 +02:00
twinaphex 1223b4fe99 core_info_list_get_by_id - change 'return 0' to 'return NULL'
for code clarity
2014-08-17 17:53:57 +02:00
twinaphex 57dae32b66 Refactor away core_info_get_custom_config 2014-08-17 17:42:45 +02:00
twinaphex cc3835c915 Rewrite core_info_get_custom_config 2014-08-17 17:35:17 +02:00
twinaphex 310c3ddae2 core_info.c - Add TODO comment 2014-08-15 17:59:50 +02:00
twinaphex 9f1626ae38 (core_info.c) Cleanups 2014-08-02 14:11:06 +02:00
twinaphex 41a5641a6f Move core_info.c to root dir 2014-08-02 14:04:43 +02:00
Themaister fce4ebd31e Move core_info to frontend/info. 2014-03-01 11:53:04 +01:00
Toad King 084e31f661 fix core names in menu for consoles 2014-01-12 14:39:41 -05:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex 122613efdb (core_info.c) Add permissions 2013-12-14 19:29:14 +01:00
twinaphex 61f0ec3e25 (core_info.c) Get rid of potential uninitialized variable warning 2013-11-29 03:03:06 +01:00
twinaphex 2501f69178 (iOS) Get rid of warnings 2013-11-24 02:08:20 +01:00
twinaphex b20e086194 (core_info) Make it C90-compatible again 2013-11-22 17:43:49 +01:00
twinaphex 70f696bc56 (Core_info) Backport maister patch from two months ago - Start implementing
firmware detection
2013-11-21 23:48:31 +01:00
twinaphex 460533aa53 Add authors to core_info.c 2013-11-08 00:30:14 +01:00
twinaphex 9e6578de21 core_info.c - we no longer need the Android shenanigans to do
with diverging core naming conventions
2013-10-30 01:52:44 +01:00
twinaphex d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister 3c3e90b0df Only display autodetect if there are info files. 2013-10-15 10:29:45 +02:00
Themaister baf694d4f6 Move core_info string to front on Android.
Searching for libretro_ at start of string would cause path to become
empty.
2013-10-11 09:22:54 +02:00
twinaphex a35e708335 (core_info) Can now set core info directory from RGUI 2013-10-11 00:36:08 +02:00
twinaphex c56f53599a (core_info.c) Some code cleanups 2013-10-11 00:24:01 +02:00
twinaphex cc992f557e core_info.c - move comment so it's more readable 2013-10-11 00:20:17 +02:00
twinaphex 549ce2bb6c Add seperate directory for libretro core info files (needed for
Android)
2013-10-11 00:18:11 +02:00
twinaphex 19e6a099c1 (core_info.c) Add hack for Android core libraries 2013-10-10 18:18:15 +02:00
Themaister fee10d3d76 Fix OSX/Windows build. 2013-10-08 22:49:50 +02:00
twinaphex 28630a9feb Better define for core_info.c 2013-10-06 18:56:01 +00:00
twinaphex 85d18b77d8 (RARCH_CONSOLE) Include rgui->libretro_dir for RARCH_CONSOLE
- Get rid of 'bypasses initialization of' warnings/errors
2013-10-06 15:00:59 +00:00
Themaister c813e787cb Add core_info_list_get_display_name.
Avoids duped code in RGUI.
2013-10-06 12:27:08 +02:00
Themaister 34ce65d9c4 Rework extension files to only consider basename.
Only consider last '.' in the basename of a file.
2013-10-06 12:16:44 +02:00
Themaister bf0bce64b0 Poke into zip files as well to find matches. 2013-10-05 18:33:22 +02:00
Themaister 050e2375e3 Begin implementing core autoselect. 2013-10-05 17:07:56 +02:00
Themaister a470ae0d04 Use consistent namespace for core_list. 2013-10-05 13:48:08 +02:00
Themaister 2f4712d4b0 Style nits to core_info. Compile it in. 2013-10-05 13:38:09 +02:00
twinaphex 119ee6d538 (XDK1) Fix build 2013-07-16 00:47:09 +02:00
twinaphex fe433b2322 Add new header file_ext.h - refactor out frontend_console.h 2013-07-15 14:54:40 +02:00
meancoot 19ce56d91e Cleanup core info code for blackberry (not tested) 2013-06-25 21:04:38 -04:00
meancoot 081232132f Clean up core_info.c/core_info.h 2013-06-25 21:04:38 -04:00
twinaphex 6d87281f36 Pass parameter to get_core_info_list function 2013-06-24 14:23:49 +02:00
twinaphex bbfca6476c (Win32) Add dirent_win32 implementation 2013-06-24 14:18:56 +02:00
twinaphex 54a661030f (QNX/General) Move core_info.c/.h to root directory for reuse later 2013-06-24 13:52:14 +02:00