Commit Graph

1447 Commits

Author SHA1 Message Date
twinaphex 925c459aed Use single snprintf instead of multiple strlcpy/strlcat calls in
several places
2021-05-18 23:18:09 +02:00
Michael Burgardt d50be7a0ab Added simple playlist entry enumeration to ozone; added toggle option by jdgleaver 2021-05-17 18:49:25 +02:00
Autechre 89391ccf9a
Merge pull request #12287 from LazyFunker/master
Some fixes for UWP/XBox
2021-05-12 09:17:53 +02:00
David Guillen Fandos 9280340fe0 CPU governor/frequency part 2
This adds managed policies and settings to store them and reload them at
startup. Only for Lakka builds!
2021-05-12 02:16:25 +02: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
Autechre 84ab14cb83
Merge pull request #12281 from eadmaster/multi_patch
added multi-softpatching support + OSD messages for patches (#9947)
2021-04-30 16:00:43 +02:00
eadmaster 019130298a added multi-softpatching support + OSD messages for patches (#9947)
fixed Travis error
2021-04-30 14:12:47 +02:00
Tomáš Kelemen (vudiq) 90529c62b2 Lakka: add menu for time zone setting
This adds new entry under Settings -> Services (where all Lakka related
services are currently available, such as switches for services like
SSH, Samba, etc.). By adding this the users do not have to use the
command line / access the file system directly to change their local
time zone to adjust the date/time displayed in RetroArch.
2021-04-21 18:12:42 +02:00
LazyFunker c5e5cf28af Force resolution on UWP 2021-04-20 11:47:32 +02:00
jdgleaver 54c45bd54e (RGUI) Add option to disable menu transparency 2021-04-15 12:32:39 +01:00
jdgleaver a6cffc0e29 (XMB/GLUI/Ozone) Add optional menu screensaver animations 2021-04-13 15:36:57 +01:00
twinaphex fc5b557a10 use fill_pathname_join_concat if we want to set a filename path
with extension instead of doing fill_pathname_join and then
fill_pathname_noext
2021-04-11 18:37:42 +02:00
twinaphex 116bf8058a Don't need this variable in this loop 2021-04-11 18:19:51 +02:00
twinaphex 050f44382b input_remapping_save_file - simplifications 2021-04-11 18:16:18 +02:00
twinaphex 3841fecc59 Cleanups 2021-04-11 17:01:13 +02:00
twinaphex 40c39de5e3 Move old_libretro_device/old_analog_dpad_mode to global struct 2021-04-11 16:02:47 +02:00
twinaphex 0087be2a53 Cleanup input_remapping_load_file/input_remapping_save_file - none
of these huge char arrays were needed, wrong size being passed
to snprintf, fill_pathname_join, k loop variable unneeded, etc.
2021-04-11 14:36:51 +02:00
twinaphex d9cacc0b8c Other cleanups - wrong size being passed to snprintf for s3, etc. 2021-04-11 14:18:14 +02:00
twinaphex 370751551f Some further optimizations - key_strings doesn't need to be inside
the loop
2021-04-11 14:11:12 +02:00
twinaphex ac8e1b88e4 input_remapping_load_file/input_remapping_save_file - char arrays
were way too big
2021-04-11 14:03:03 +02:00
twinaphex aa0a9f18d5 Fix crash that could happen after loading a remap file manually -
config file was being freed at the end of input_remapping_load_file
when the menu_cbs_ok.c function was still using it afterwards - move
the config_file_free outside of the function and free manually
afterwards when we're done
2021-04-11 13:48:25 +02:00
repojohnray 8f3e02e49c Fix issue detected by valgrind
==27741== Conditional jump or move depends on uninitialised value(s)
==27741==    at 0x6080F5: strlcpy_retro__ (compat_strl.c:38)
==27741==    by 0x60818A: strlcat_retro__ (compat_strl.c:60)
==27741==    by 0x49EDD7: fill_pathname_join_special_ext (file_path.c:843)
==27741==    by 0x4C78C8: config_load_remap (configuration.c:3765)
==27741==    by 0x4386FF: command_event_init_core (retroarch.c:12601)
==27741==    by 0x43B15E: command_event (retroarch.c:14000)
==27741==    by 0x468863: retroarch_main_init (retroarch.c:35231)
==27741==    by 0x487AED: content_load (task_content.c:607)
==27741==    by 0x48A3D3: task_load_content_internal (task_content.c:2068)
==27741==    by 0x48A6AD: task_push_load_content_from_cli (task_content.c:2162)
==27741==    by 0x43D66E: rarch_main (retroarch.c:15300)
==27741==    by 0x43D6ED: main (retroarch.c:15398)
==27741==  Uninitialised value was created by a stack allocation
==27741==    at 0x4C7730: config_load_remap (configuration.c:3721)
2021-04-10 17:30:56 +02:00
twinaphex f8ec815467 Cleanups 2021-04-08 01:54:44 +02:00
jdgleaver c23e32a047 OpenDingux Beta: Add 50Hz support 2021-04-07 10:06:11 +01:00
Jonathan 5c6cd1b48a
Add scaling to pointer input (#12213)
So far, if display is scaled, overlays gets correctly drawn but touch
input is not correctly scaled, resulting in an unusable overlay.

This happens for touches in menu too.

This commit aims to introduce this scaling factor adding it to the
config file, eg:

input_touch_scale = "2"
2021-04-06 13:15:43 +02:00
jdgleaver 371d0b7395 Add optional menu screensaver 2021-04-01 17:26:43 +01:00
sonninnos 23d558564f Customizable menu scroll hold delay 2021-03-26 04:23:52 +02:00
twinaphex b85a33c0ab (OSX) Set workaround when loading config file - if network core
URL points to arm64 and we are on x86_64 build or vice versa, we
switch it back
2021-03-23 03:10:38 +01:00
twinaphex 117d48c898 (Apple) Change some preprocessor conditionals to cover all bases 2021-03-12 10:33:21 +01:00
Yoshi Sugawara a142f3b852 Support bundle assets extraction for macOS; Fix to only extract assets once on first install; Change cores, assets, other directories to default to application support directory instead of app bundle 2021-03-11 23:12:52 -10:00
jdgleaver d12197c00c
Fix 'Content dir-specific overrides' log message (#12070) 2021-02-23 18:58:07 +01:00
sonninnos 6c3c2bea5f Logging cleanups 2021-02-18 18:35:31 +02:00
jdgleaver 5c0799826a (.gitlab-ci.yml) Add windows-msvc10-x64 and windows-msvc10-i686 targets 2021-02-10 16:55:09 +00:00
Autechre f661cc3fb5
Merge pull request #11572 from ImJezze/master
Option to open the file browser in the last used directory
2021-02-08 12:29:31 +01:00
ImJezze 270c41b35a Implement toggle to open the start directory at the last used location 2021-02-07 11:54:17 +01:00
sonninnos c4876c5e01 Config logging cleanup 2021-02-03 13:43:56 +02:00
Autechre 831bbf1300
Merge pull request #11925 from Ryunam/custom-dirs
Enable configuration of the directories used for Favorites, History, Images, Music and Video playlists
2021-02-01 23:20:00 +01:00
jdgleaver b9691597d1
Add 'L2 + R2' menu toggle gamepad combo (#11935) 2021-01-24 16:33:13 +01:00
Ryunam 4b0502b896 Enable configuration of directory for Favorites, History, Images, Music and Video playlists 2021-01-21 21:28:10 +01:00
twinaphex dff8fbf879 Silence some implicit conversion warnings 2021-01-16 20:47:07 +01:00
jdgleaver 1c591be8f1 Add option to automatically enable 'game focus' mode when running/resuming content 2021-01-13 15:00:36 +00:00
Ryunam c341aabdb4 Add option to show/hide Refresh Rate notification 2021-01-08 17:32:33 +01:00
MrHuu c4db0fa439 (3DS) Rework buildbot url 2021-01-04 03:31:24 +01:00
MrHuu 2229657b12 (3DS) Enable core updater 2020-12-30 19:11:48 +01:00
Autechre 1681872763
Merge pull request #11772 from fpscan/facebook-gaming
Facebook Gaming stream option
2020-12-28 21:04:09 +01:00
twinaphex b1af12efc9 Add more PSL1GHT ifdefs 2020-12-27 18:56:00 +01:00
bslenul 602908f5c6 Build fix. 2020-12-19 18:30:10 +01:00
twinaphex 870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
Ömercan Kömür 6256b8ca2b first 2020-12-19 15:14:14 +03:00
David Guillen Fandos 4aa3a0d666 Fix wifi_enable setting, to store it across restarts 2020-12-15 18:12:58 +01:00
Tony Jansson 75baed785e (DINPUT+WINRAW) Option for disabling Windows hotkeys 2020-12-09 00:03:40 +02:00
David Guillen Fandos a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
David Guillen Fandos 1c5099051c Adding savestate garbage collector for autoincrement stavestates
As some issues indicate (#6195 #10471 #11008 #6861) there's an issue with
the autoincrement save slot feature: slot index will increase and very old
saves won't be deleted.

This commit adds support to delete old save states with a user defined
save state limit (global). Instead of wrapping around the slot counter
it will simply delete the oldest save, since it is simpler.

For now there's a limit of one deletion per save, which ensures a user
cannot delete many saves by accident if they set the limit too low.
2020-11-22 13:26:23 +01:00
cpasjuste 0082806620 (KMS/DRM) add support for custom modes from hdmi timings 2020-11-18 11:34:44 +01:00
jdgleaver e582cf9f1d OpenDingux: Add rumble support 2020-11-17 16:13:37 +00:00
HyperspaceMadness 70bf90c5d8 Shader_Preset_Simple_Save_Cleaned_2020_11_01 2020-11-01 09:18:40 -05:00
Tony Jansson 7a2153f053 Allow loading core remaps without content 2020-10-29 02:23:43 +02:00
Tony Jansson da3f7d7d70 DISABLE_MENU final fix 2020-10-22 03:44:05 +03:00
Tony Jansson 46d516f066 Add option for quitting on close content 2020-10-20 21:45:03 +03:00
Tony Jansson 39b194d306 Clean vs reset configuration matching redux 2020-10-17 22:15:49 +03:00
Autechre 4fd92ec667
Revert "Clean vs reset configuration matching" 2020-10-17 19:02:28 +02:00
Tony Jansson 1825f52353 Clean vs reset configuration matching 2020-10-17 00:09:06 +03:00
Tony Jansson 9902ad0b49 Add remaining settings menu visibilities 2020-10-16 01:57:34 +03:00
jdgleaver 2dc837850f OpenDingux: Add 'sdl_dingux' input/joypad drivers and use by default 2020-10-08 13:26:45 +01:00
jdgleaver 80f1da2fb1 OpenDingux: Enable selection of image interpolation method when using 'sdl_dingux' gfx driver 2020-10-05 14:34:21 +01:00
jdgleaver 3bd66cc14d OpenDingux port improvements: Phase 1 2020-10-01 15:56:14 +01:00
Jamiras 02ddbc41cc allow disabling leaderboard notifications and trackers separately 2020-09-25 19:28:56 -06:00
jdgleaver 2155438794 (Mobile) Fix default overlay assignemnt 2020-09-25 11:15:33 +01:00
twinaphex f1d0de85fd Use strcpy_literal for string literals 2020-09-21 00:27:31 +02:00
Ophidon 2f36c94f3f Variable BFI
BFI support added for 180hz / 240hz / etc. Solves issue with image retention from voltage issues at 120hz BFI. Also disabled BFI while in menu, as if set to an incorrect value for the current refresh rate, could cause severe flickering and difficulty reverting to the correct value.
2020-09-18 11:57:32 -04:00
jdgleaver 8a5ebbf24d Add option to scale overlays automatically (with aspect ratio correction) 2020-09-17 17:23:07 +01:00
jdgleaver 34e08a688f (Sensors API) Android (crash-)fixes/improvements + add option to disable sensor input 2020-09-14 17:52:45 +01:00
jdgleaver eda2753cb3 (Mobile) Set default overlay to 'neo-retropad' 2020-09-11 18:08:48 +01:00
jdgleaver b8ea4fd54e Overlay configuration improvements 2020-09-08 13:37:51 +01: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
Pedro b6655034ef Implementation of fullscreen over notch function. 2020-08-27 20:41:30 -03:00
jdgleaver cc2e098dab Add option to hide overlays when a gamepad is connected (Note: Restricted functionality on Android) 2020-08-25 11:12:37 +01:00
Twinaphex a175af4e6a Cleanup some unused variables 2020-08-22 18:04:34 +02:00
twinaphex f63593e918 Use FILE_PATH_ constant string literals for hardcoded strings 2020-08-22 12:49:35 +02:00
twinaphex 4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
jdgleaver dd66988c98 Add option to remember last selected shader preset/shader pass directories 2020-08-21 17:02:32 +01:00
Nargash b8990d601a Add configuration options to sort save files, save states, and screenshots into folders named after the content directory folder. 2020-08-20 19:29:00 -05:00
twinaphex ad7db2e2b8 Move path variables off heap size; prevent potential memory
fragmentation
2020-08-18 12:44:14 +02:00
twinaphex 855351de9e Reorder g_defaults, alignment 2020-08-16 04:38:02 +02:00
twinaphex 375f2da3bb Reorder structs, alignment 2020-08-14 23:03:15 +02:00
twinaphex 06210387af Fix C++ comment 2020-08-09 19:24:13 +02:00
Yoshi Sugawara 6a37f1ec90 [iOS] Set default video driver to OpenGL; start adding source file references to xcode project to make code navigable in Xcode 2020-08-09 06:08:16 -10:00
jdgleaver e6000afddb (GLUI) Add optional system-specific playlist icons 2020-08-06 17:24:28 +01:00
jdgleaver 15cf483cd9 (RGUI/GLUI) Clean up 'scan content' menu entries 2020-08-05 14:25:09 +01:00
jdgleaver 535d73cf37 Ensure correct directory is used when saving autoconfig profiles 2020-08-03 13:10:00 +01:00
twinaphex 4ee45304b0 More warning fixes 2020-08-01 18:14:48 +02:00
jdgleaver d77f6705df Add option to hide 'Explore' tab + menu clean-ups 2020-07-29 13:01:49 +01:00
alphanu1 e222d62f6c
Merge pull request #7 from libretro/master
upstream
2020-07-28 18:55:54 +01:00
Autechre 8cb861798e
Merge pull request #11075 from francescotintori/francesco/playlist_autofix
Playlist base content directory paths
2020-07-28 16:10:20 +02:00
alphanu1 55e3bd3d2d Added ability to adjust porch values
Porches can now be manipulated from the CRTSwitchRes menu
2020-07-28 14:25:38 +01: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 fba4a8e837 (RGUI) Add optional 'toggle switch' icons 2020-07-27 14:45:07 +01:00
twinaphex 270a22ce0b core_info_hw_api_supported - silence warning array subscript has type
'char'
2020-07-23 05:18:15 +02:00
Autechre 6c7143d02d
Merge pull request #10981 from yoshisuga/yoshisuga/ios-metal
iOS/tvOS Metal Renderer
2020-07-21 20:41:07 +02:00
Ryunam 4d2fe14c1d Adjustments to Screenshot Notification options 2020-07-20 19:44:55 +02:00