Commit Graph

102 Commits

Author SHA1 Message Date
libretroadmin 27704a18de Remove unused core_info_hw_api_supported 2022-07-17 08:10:01 +02:00
jdgleaver c67806dbd7 Enable manual selection of which cores are displayed in the 'Standalone Cores' menu (#13722) 2022-03-09 17:49:16 +01:00
jdgleaver 9b0cb0fc92 Add 'Standalone Cores' menu (#13655) 2022-02-22 19:23:48 +01:00
jdgleaver 42e03cae83 Disable save states based on save state support level defined in core info files (#13562) 2022-02-02 16:49:53 +01:00
Autechre cbfa8d6400 Move coreinfo_get_ptr internal state back to core_info.c (#13020) 2021-09-20 15:43:27 +02:00
jdgleaver e306dd8eeb Automatically disable core info cache when core info directory is read-only 2021-07-19 16:39:18 +01:00
jdgleaver c37f540b72 Core Info Cache Improvements
- Core info cache can now be enabled/disabled on all platforms via a new `Settings > Core > Cache Core Info Files` option
- Core info cache file has been renamed from `.cache` to `core_info.cache` (i.e. it is no longer a 'hidden' file on Unix platforms, so can be deleted easily)
- The core info cache file is now compressed (rzip) to further reduce disk IO
- The presence of a `core_info.refresh` file in the core info directory will force a one-time refresh of the info cache. This file is generated automatically when toggling on the `Cache Core Info Files` option, and we will also add it to core info file packaging such that updating info files (either manually or via the online updater) will force a refresh
- The core info cache no longer contains 'core is locked' and 'firmware missing' data fields; these are 'dynamic' properties that must be determined at runtime
- The 'core is locked' status is now determined on core info intialisation by parsing the core directory listing, rather than by performing indivdual 'lock file exists' checks. This minimises file IO, and greatly improves performance on devices with slow storage
- While parsing the core info cache file, we now avoid unnecessary `strdup()`s when adding entries to the resultant cache list
- Memory leaks (potential and real) have been fixed, and safety checks added
- Build errors have been fixed
2021-05-06 15:00:55 +01:00
bulzipke e96cbcac04 (3DS) Build core info cache 2021-05-04 23:01:17 +09:00
jdgleaver f4511f6fa4 (core_info) Performance optimisations + code clean-ups/refactors 2021-04-26 14:30:31 +01:00
jdgleaver bd80f02f11 (Android/Play Store Builds) Add option to switch all installed cores to Play Store versions 2020-09-02 17:13:03 +01:00
twinaphex b8058a93e1 Reorder structs, alignment 2020-08-15 23:10:31 +02:00
twinaphex e399a2f78e reorder structs, alignment 2020-08-15 00:35:15 +02:00
twinaphex 023fd4f330 Alignment changes 2020-08-14 18:19:57 +02:00
francescotintori 9744fcb76a Adds base content directory support in playlists. If playlist base content directory does not match configuration parameter 'rgui_browser_directory', all entries paths are automatically fixed to match parameter 'rgui_browser_directory'.
Functionality is enabled if new parameter 'playlist_autofix_paths' is enabled.
2020-07-27 20:59:56 +02:00
jdgleaver 80f36e16d0 Add option to selectively 'lock' (prevent modification of) installed cores 2020-06-18 17:36:33 +01:00
twinaphex b46a316df9 (core info) Pass pointer around to some functions 2020-06-13 07:29:26 +02:00
twinaphex 34af28461f Move core info global state to retroarch.c 2020-06-13 07:21:00 +02:00
jdgleaver 445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
jdgleaver 9f4a9e9cd6 Core updater improvements 2020-05-27 17:02:43 +01:00
Brad Parker 61ab9249fc add "required hw api" to core info files, block content loading if core is incompatible with current graphics API/version 2019-07-23 22:44:45 -04:00
jdgleaver 0be44e57ad Overhaul default playlist core association 2019-06-26 17:42:26 +01:00
twinaphex b270ea6b79 Revert "(MSVC 2003) core_info - remove all_ext from heap - fixes crash with MSVC2003"
This reverts commit 50a57b03a1.
2019-05-10 08:31:18 +02:00
twinaphex 50a57b03a1 (MSVC 2003) core_info - remove all_ext from heap - fixes crash with MSVC2003
and makes for easier code
2019-05-05 14:23:29 +02:00
jdgleaver 8a2cd64889 Always use core display name when populating playlists 2019-03-07 16:54:46 +00:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00