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
Jesse Bryan
f6a0b09e7d general: renamed rpcname to systemid 2018-08-21 09:41:16 -05:00
Jesse Bryan
c276f9349a discord: remove hardcoded values and use new attribute 2018-08-20 20:55:44 -05:00
Brad Parker
a1aefc901c Qt WIMP GUI 2018-04-30 14:33:05 -04:00
twinaphex
c9e48cd9de Cleanups / get rid of more dependencies 2018-04-10 04:31:19 +02:00
twinaphex
3016edce0a Move retroarch.h dependencies out of core_info.c 2018-04-10 04:00:01 +02:00
twinaphex
8ca8f92aeb No more configuration.h dependencies in core_info.c 2018-04-10 03:02:10 +02: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
Brian Koropoff
b668193923 scanner: allow matching archives by member
This allows more flexible detection of content packaged as multiple
compressed files (e.g. MAME).
2017-11-17 16:53:49 -08:00
twinaphex
df13f3bbd0 Cleanups 2017-09-28 09:32:23 +02:00
twinaphex
8c89ec158c Update copyrights 2017-03-22 03:09:18 +01:00
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
Brad Parker
fc1f2cdcf4 only scan the content databases that support the file's extension 2016-10-03 16:09:10 -04:00
twinaphex
519e4e038a Update core_info_find 2016-07-09 21:51:16 +02:00
twinaphex
ff8d00e12b Use RETRO_BEGIN_DECLS/RETRO_END_DECLS in more files 2016-06-03 03:22:35 +02:00
twinaphex
7ba97e8703 Remove core_info_ctl 2016-05-09 18:11:17 +02:00
twinaphex
7dffc6286b Internally change directory settings 2016-04-28 19:26:02 +02:00
twinaphex
4cc122648c Header include cleanup 2016-03-22 04:09:46 +01:00
twinaphex
36b420ec17 Revert "Remove core_info_list_num_info_files"
This reverts commit 9d96e9e452.
2016-02-11 07:20:04 +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
a67082865c N/A 2016-02-07 13:38:23 +01:00
twinaphex
ff90a13a5e Turn core_info_does_support_any_file static 2016-02-07 12:59:50 +01:00