Commit Graph

1243 Commits

Author SHA1 Message Date
twinaphex f9a2a79f5d Rename const variables to macros 2019-07-19 13:30:11 +02:00
twinaphex 433a27b76a (config.def.h) Turn more into macros 2019-07-19 13:20:13 +02:00
twinaphex fdf28e5259 Turn more default values into macros 2019-07-19 13:14:29 +02:00
twinaphex 0cdfd4c542 Use config_file_new_from_path_to_string entirely 2019-07-18 16:15:02 +02:00
twinaphex cb06405293 open_default_config - small cleanups 2019-07-17 20:20:39 +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 b2bf822f13 Add HAVE_AUDIOMIXER switch 2019-07-11 11:51:06 +02:00
twinaphex 212ff42ae0 (Gradle/Android Studio) Update
(Default threaded video setting) Remove
g_defaults.settings.threaded_video - could help Switch and Android
2019-07-10 12:21:18 +02:00
jdgleaver 248432ebcf Add option to remain in menu after saving/loading states 2019-07-05 13:27:16 +01:00
twinaphex 1f17dea0d8 (configuration.c) Cleanups 2019-07-04 17:29:29 +02:00
twinaphex 3067ce6285 Small cleanup 2019-07-04 17:21:58 +02:00
jdgleaver 027324815e Quick Menu: Add 'Set Core Association' option 2019-07-03 16:33:23 +01:00
jdgleaver 0be44e57ad Overhaul default playlist core association 2019-06-26 17:42:26 +01:00
twinaphex 3b634b64fa Merge dirs.c into paths.c 2019-06-26 07:23:32 +02:00
Barry Rowe e9625b3ed9 AI Service feature. 2019-06-21 17:48:35 -07:00
radius d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
Twinaphex a094d09802 Remove shader_ext variable 2019-06-19 01:54:42 +02:00
Brad Parker d01f04c146 d3d10/11/12: add GPU selection 2019-06-18 16:35:50 -04:00
LazyBumHorse c20c67bd3a proper shader compatibility checks
- move shader flags from the video drivers to the context drivers
 - rework config_load_shader_preset() from configuration.c into retroarch_load_shader_preset() in retroarch.c with proper compatibility check
 - implicitly call retroarch_load_shader_preset() in retroarch_get_shader_preset() once per core/content life cycle
 - use video_shader_is_supported() instead of video_driver_test_all_flags() where appropriate
 - remove GFX_CTX_FLAGS_NONE because it is meaningless
2019-06-18 13:46:41 +02:00
LazyBumHorse 692dc9f6a9 refactor shader checks affected by last commit and more:
- gl.c: refactor backend fallback into more general gl2_get_fallback_shader_type
 - d3d9-12, gl_core, gx2_gfx, gl, vulkan: more consistent shader init and `set_shader` behavior
 - configuration.c: remove check_shader_compatibility
 - shader_glsl.c, shader_gl_cg.c: use `video_shader_get_type_from_ext`
 - shader_gl_cg.c: add shader type check with fallback to stock like in shader_glsl.c
 - menu_shader.c: use `enum rarch_shader_type` instead of `unsigned`
 - video_shader_parse.c: add `video_shader_to_str` for easier logging
 - remove `type` from `struct video_shader`, which was always set to CG and wrongly used in lang_process.cpp's `slang_process()` (has no further consequences because the code is unused)
2019-06-18 13:44:19 +02:00
twinaphex 79cadc9eaf Move configuration global state to retroarch.c 2019-06-17 16:58:43 +02:00
twinaphex f061941456 Integrate record_driver.c into retroarch.c 2019-06-17 16:23:46 +02:00
twinaphex ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex 127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
Brad Parker d397f9bd94 caca: xmb is allowed (rgui is not supported yet anyway) 2019-06-14 11:09:39 -04:00
twinaphex d422638c45 Turn more static const variables into macros 2019-06-14 13:01:22 +02:00
twinaphex 408d41b629 Turn a bunch of variables into macros 2019-06-14 11:13:02 +02:00
Brad Parker c962da0ddb add video setting to select gpu (currently implemented for vulkan) 2019-06-13 12:47:08 -04:00
jdgleaver d316827f5c Ensure 'menu_left_thumbnails' config value is saved on all platforms 2019-06-10 10:53:45 +01:00
jdgleaver cfaaa5eeff (XMB) Add optional thumbnail scaling 2019-06-07 16:38:17 +01:00
twinaphex aa03ff9aa1 Start adding ai_service_mode, ai_service_url, and ai_service_enabled 2019-06-06 03:29:34 +02:00
jdgleaver c4bb2f5ad7 (XMB/Ozone) Add optional thumbnail upscaling 2019-06-05 17:05:30 +01:00
Twinaphex faf612098f
Merge pull request #8912 from jdgleaver/remove-history-favourites
Add option to show 'remove playlist entry' only on history/favourites
2019-06-04 19:35:27 +02:00
jdgleaver 736ff13e35 (GEKKO) Add optional overscan correction 2019-06-04 15:50:47 +01:00
jdgleaver 80c9475fa4 Add option to show 'remove playlist entry' only on history/favourites 2019-06-04 11:29:51 +01:00
hizzlekizzle de3c1b82b7
Merge pull request #8903 from Ryunam/toggle-showmouse-overlay
Add toggle to show/hide mouse cursor with overlays
2019-06-03 13:43:54 -05:00
twinaphex 6ffb675c0b (GX) Buildfix 2019-06-03 14:18:25 +02:00
Ryunam ed1d98d2a2 Add toggle to show/hide mouse cursor with overlays 2019-06-02 23:48:01 +02:00
twinaphex 7ea2034922 Cleanups 2019-06-02 21:02:59 +02:00
twinaphex f5106afc0f (config.def.h) Turn more const variables into macros 2019-06-02 18:09:33 +02:00
twinaphex 5a4294359a (config.def.h) Turn const variables into macros 2019-06-02 17:19:58 +02:00
twinaphex 143c333343 (configuration.c) Cleanups 2019-05-31 16:04:46 +02:00
twinaphex 7ee5b187f9 (iOS) Fix small memory leak 2019-05-31 16:00:51 +02:00
twinaphex ca33665287 (config.def.h) WIP - most of these const variables should become
macros instead
2019-05-31 15:59:49 +02:00
jdgleaver aa6beb68c2 Add option to show/hide 'Restart RetroArch' 2019-05-30 13:52:24 +01:00
meleu 694bac565f do not use old cheevos implementation 2019-05-29 14:26:22 -03:00
jdgleaver a117b8391f Hide legacy thumbnail downloader by default 2019-05-24 14:39:53 +01:00
jdgleaver 20aff2a05a Add optional 'on demand' thumbnail downloads 2019-05-24 12:03:26 +01:00
radius cd8e39b9fb fix twitch streaming 2019-05-20 04:29:17 +02:00
jdgleaver 23ca792966 Re-enable '--log-file' command line option 2019-05-17 17:19:13 +01:00
jdgleaver 05c8694e1c Add 'Download Thumbnails' option to quick menu 2019-05-16 14:34:01 +01:00
twinaphex 6730d05918 (XMB) Animation settings - Main Menu opening/closing, Horizontal
highlight, Move up/down
2019-05-13 09:44:52 +02:00
Huw Pascoe 685aabb094 video_layout config 2019-05-11 09:58:46 +01:00
Barry Rowe 8745333892 OCR Translation feature finaliziation. (#8738) 2019-05-11 07:15:39 +02:00
nia 49b81f1da2 configuration: Add audioio as a default audio_driver. (#8733)
Supported platforms are illumos and NetBSD, where it's the native
audio API. Right now audio_driver defaults to OSS on these platforms.
2019-05-09 19:30:44 +02:00
twinaphex 5a9c0da282 Rename config_init to rarch_config_init to avoid collision
with cores that might use this symbol name
2019-05-09 06:57:18 +02:00
twinaphex ba3f164bdd Disable scan_without_core_match by default 2019-05-07 00:58:17 +02:00
twinaphex 34c5d2ef07 Remove 'Core Remap File Loaded' message - happens too early - before
menu widgets have been initialized
2019-05-06 13:54:15 +02:00
twinaphex 705851b147 Add 'Scan without Core Match' 2019-05-05 21:54:49 +02:00
Twinaphex 786a5bd9a8
Merge pull request #8693 from meleu/patch-5
add "Use Old Implementation" in the Achievements menu
2019-05-05 01:19:01 +02:00
meleu 22a956f663 replace 'cheevos_rcheevos_enable' by 'cheevos_old_enable' 2019-05-04 12:52:49 -03:00
Twinaphex 2ed4fbf2f7
Merge pull request #8691 from meleu/patch-5
use new cheevos implementation as default
2019-05-04 15:55:22 +02:00
meleu b85cd1f1ab use new cheevos implementation as default 2019-05-04 10:27:36 -03:00
twinaphex b7e7f6a651 (Menu widgets) Add menu widgets setting 2019-05-03 13:58:33 +02:00
jdgleaver 05e0a6c8d2 Prevent duplicate content history entries (+ general sanitisation of playlist searching) 2019-05-02 09:58:37 +01:00
twinaphex bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
jdgleaver ecdb5383ba (RGUI) Add 'particle effect' animation system 2019-04-29 15:43:19 +01:00
twinaphex 4c3e0d44b8 Revert "Start using string_is_equal_memcmp and"
This reverts commit 26d6aee1eb.
2019-04-29 04:04:33 +02:00
twinaphex 26d6aee1eb Start using string_is_equal_memcmp and
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex a6998d593a Update some logs 2019-04-28 05:48:09 +02:00
twinaphex 706a63fedf use config_file_exists where applicable in per-game/per-core config
functions
2019-04-28 03:21:30 +02:00
twinaphex 2c47d571aa Use path_is_valid instead of filestream_exists when we only
need to know if a file exists on the filesystem
2019-04-27 14:01:50 +02:00
twinaphex 59b45f7812 Start making HAVE_OPENGL_CORE independent 2019-04-24 03:23:57 +02:00
retrotails 499d61cb3d added rgui snow 2019-04-23 04:33:10 -04:00
twinaphex 563253f268 More work to make HAVE_OPENGL1 independent 2019-04-22 22:59:48 +02:00
Twinaphex 64dea335ff (OSX) Cleanups 2019-04-22 10:05:18 +02:00
twinaphex 63c8eb1a4c Simplify config_load_shader_preset 2019-04-22 09:27:59 +02:00
twinaphex 1bb293ebae (configuration.c) Cleanups 2019-04-22 08:55:52 +02:00
twinaphex a2ec579689 (configuration) Cleanups 2019-04-22 08:46:58 +02:00
twinaphex 5171d167c8 Update log messages 2019-04-22 08:29:29 +02:00
twinaphex cec7037839 (configuration.c) Cleanups 2019-04-22 08:21:57 +02:00
twinaphex 85c4a29d38 Simplify config_save_autoconf_profile 2019-04-22 08:13:26 +02:00
twinaphex b69c7ec558 Cleanup config_load_file 2019-04-22 07:38:44 +02:00
twinaphex f18407a011 config_load_shader_preset/config_load_override - use config_file_read 2019-04-22 07:21:01 +02:00
twinaphex c38ed7f843 Use path_is_directory to check if directories exist instead of
filestream_exists
2019-04-22 02:43:09 +02:00
twinaphex 317a443741 Use config_file_read in more places 2019-04-22 02:10:12 +02:00
twinaphex 955a149ce9 Use config_file_read where we can assume we are reading a file 2019-04-22 01:56:24 +02:00
twinaphex af2805406d Move more functionality to input_driver.c ; make more functions static 2019-04-21 07:30:14 +02:00
twinaphex 270e95bc97 Turn a lot of input_config_parse functions static 2019-04-21 06:42:13 +02:00
twinaphex 0226820825 Simplify config_read_keybinds_conf 2019-04-21 06:32:39 +02:00
twinaphex ce31ed6a51 (configuration.c) Simplifications 2019-04-21 06:20:25 +02:00
twinaphex 7372bafb44 Remove RARCH_CTL_SET_LIBRETRO_PATH 2019-04-21 06:03:02 +02:00
twinaphex b63fa7b94b (configuration/paths) Simplify some code 2019-04-21 05:05:44 +02:00
meleu c2364096f3
Merge branch 'master' into runtime_rcheevos_switch 2019-04-19 21:50:00 -03:00
Twinaphex be7356ec6d
Merge pull request #8590 from bparker06/default_lang
Set language to OS/user default on first startup
2019-04-16 14:07:53 +02:00
Brad Parker aa588dec35 set default language on first startup according to OS setting (initial *nix implementation) 2019-04-15 23:14:49 -04:00
jdgleaver 54e1711f9a (3DS) Sanitise/Improve display mode selection 2019-04-15 17:05:55 +01:00
Twinaphex 2bab38e857
Merge pull request #8306 from CozmoP/options
WIP/PoC Qt: settings PoC
2019-04-14 05:44:02 +02:00
jdgleaver a446f8ad51 (RGUI) Add optional delay when loading thumbnails 2019-04-12 15:50:27 +01:00
jdgleaver a870526dc9 (RGUI) Add optional extended ASCII support 2019-04-11 14:29:31 +01:00
jdgleaver 3c10731fbd (RGUI) Add optional shadow effects 2019-04-01 13:54:59 +01:00
jdgleaver c2122ed1d8 (RGUI) Add inline playlist thumbnail support 2019-03-27 16:29:23 +00:00
CozmoP bd6fedc0f2 Qt: WIP settings dialog 2019-03-27 02:37:34 +01:00
Twinaphex 7c13e57468
Merge pull request #8527 from bparker06/analog
add analog deadzone and sensitivity options, rename axis threshold
2019-03-26 10:39:50 +01:00
Brad Parker e7891b8c1a add analog deadzone and sensitivity options, rename axis threshold 2019-03-25 23:22:19 -04:00
jdgleaver 2c65068be0 More 'Log to File' Additions:
- Add optional timestamped log files

- Handle errors if log file cannot be opened

- Android: flush log file immediately

- 3DS: log to file tested and fully working

- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
jdgleaver 93506a0d18 Log to file improvements 2019-03-21 16:57:54 +00:00
jdgleaver f114e14d48 (RGUI) Overhaul 'Lock Menu Aspect Ratio' option 2019-03-20 13:41:27 +00:00
meleu a5acd559d6 namespace both cheevos implementations & add a runtime setting to allow debugging 2019-03-19 21:13:10 -03:00
jdgleaver e72c67bf87 (RGUI) Add widescreen support 2019-03-19 11:49:53 +00:00
radius 2acfe9cb6a fix 2019-03-17 14:28:18 -05:00
radius 8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00
Brad Parker 954c54baee add device vibration option for cores that support rumble (with initial android implementation) 2019-03-12 13:07:16 -04:00
Twinaphex 7d9c7ba1f7
Merge pull request #8445 from jdgleaver/runtime-log-dir
Enable configuration of runtime log directory
2019-03-11 15:03:52 +01:00
natinusala 279a2d58db ozone: add a setting to have the sidebar always collapsed 2019-03-11 13:58:24 +01:00
jdgleaver c05548e2ab Enable configuration of runtime log directory 2019-03-11 12:52:13 +00:00
Brad Parker f6dc7f4f02 android: add option to vibrate on touch 2019-03-10 21:36:52 -04:00
Twinaphex 031bcf8cbc
Merge pull request #8427 from Themaister/master
Add a new "glcore" driver with slang support.
2019-03-10 23:16:38 +01:00
Themaister 3029f96511 Add a new "glcore" driver with slang support.
This driver should sunset the old gl2 driver, but that driver will
likely live on to support really ancient and terrible GL stacks.
All the worst legacy cruft has been ripped out, and it's almost a decent
backend now.

Requirements for slang are GL 3.2+ or GLES3.
Some shaders require features which are not directly compatible with
GLES2 or legacy GL.

This driver shares a lot of concepts from the Vulkan driver.
The slang shader stack and SPIRV-Cross are used to implement the shader
spec, and the menu shaders are also shared with Vulkan.
2019-03-09 12:30:49 +01:00
jdgleaver 89220ec4b5 Allow core name to be hidden on history/favorites playlists (without enabling playlist sublabels) 2019-03-08 12:52:23 +00:00
jdgleaver 2c8d7bf5ed Add optional 'aggregate' runtime logging 2019-03-07 12:28:21 +00:00
jdgleaver 33c27606d3 Finalise integration of per-content runtime logs (runtime sublabels on all playlists, 'last played' timestamp added to playlist sublablels,
content_runtime.lpl retired)
2019-03-01 14:06:40 +00:00
Twinaphex 0b63b7b499
Merge pull request #8381 from cold-brewed/coreaudio3enable
(macOS) Enable CoreAudio v3 driver for Metal
2019-03-01 01:09:56 +01:00
twinaphex cc664e4d72 This should make Metal the default video driver now for the macOS Metal
build
2019-02-28 21:38:36 +01:00
cold-brewed 49304bbee3 (OSX) Enable CoreAudio v3 driver but do not make it the default 2019-02-28 14:49:38 -05:00
driver1998 6ea79bca36 Allow winraw and xinput to work without dinput in Windows
Necessary for Windows ARM32 Desktop (RT)
2019-02-26 21:29:43 +08:00
natinusala 6b6f9ae678 menu: add press quit twice setting 2019-02-25 19:51:39 +01:00
jdgleaver 448b780a8b (RGUI) Add 'full width' layout option 2019-02-25 12:24:59 +00:00
jdgleaver 4a26e4bc97 Standardise and improve playlist display 2019-02-22 15:23:10 +00:00
radius 8936faf21f fix [Config]: blah blah blah printing on the OSD on save configuration
fix new configurations having two periods in the filename
2019-02-21 13:57:06 -05:00
jdgleaver 0b04312412 Add optional playlist sublabels (associated core + play time, where available) 2019-02-21 15:50:48 +00:00
Brad Parker f5f492845f add setting for screen orientation, with initial android implementation 2019-02-21 00:31:55 -05:00
jdgleaver e96b872693 Make playlist sorting optional and consistent 2019-02-18 15:09:19 +00:00
jdgleaver 2ceecd2ff1 (RGUI) Add option to hide associated cores in playlists 2019-02-17 14:39:14 +00:00
Twinaphex b617bb5d64
Merge pull request #8301 from CompCom/classic-makefile-fix
Fix Nintendo Classic build.
2019-02-16 14:01:51 +01:00
CompCom 48e4848536 Disable alsa midi on classic(hakchi) builds. 2019-02-16 16:04:24 +11:00
Brad Parker 5e177c75a5 add memory stats to more context drivers, use correct default variables for fps/stats/framecount/memory_show 2019-02-15 15:59:00 -05:00
jdgleaver bfe0c3fb48 Enable configuration of menu ticker text speed 2019-02-15 10:08:27 +00:00
jdgleaver 27694b6b31 Add optional 'looping' menu text ticker 2019-02-14 15:10:07 +00:00
jdgleaver cf6e23cebd (RGUI) Add optional internal upscaling 2019-02-13 11:09:02 +00:00
Brad Parker 44c4be1863 add option to track how long content has been running over time 2019-02-12 00:32:01 -05:00
Twinaphex 7f88822853
Merge pull request #8252 from jdgleaver/rgui-sublabels
(RGUI) Add menu sublabel support
2019-02-11 20:04:29 +01:00
Brad Parker 5a3a58c8a6 gl1: fix order of non-rgui menu drawing, add proper texture support 2019-02-11 12:05:31 -05:00
jdgleaver 930bb5d71f (RGUI) Add menu sublabel support 2019-02-11 14:38:10 +00:00
Brad Parker 74fd184097 initial GL1 video driver, only rgui is working currently 2019-02-08 12:14:55 -05:00
radius b549f5181b try to fix #8121 by making the interval configurable 2019-02-07 22:34:18 -05:00
jdgleaver e3c383bb41 (RGUI) Add 'Lock Menu Aspect Ratio' option 2019-02-07 17:15:06 +00:00
twinaphex f705503531 (Apple) Get rid of HAVE_CORELOCATION/HAVE_AVFOUNDATION - was mostly dormant
code and makes the Apple code needlessly complex right now. We can
always reintroduce this later on when the time is right
2019-02-07 04:03:52 +01:00
Twinaphex 74cbbb06b0
Merge pull request #8201 from Zlika/fix_uninitialized_read
Fix uninitialised read of "override" field
2019-02-06 23:29:02 +01:00