Commit Graph

2035 Commits

Author SHA1 Message Date
Tim Van den Langenbergh 8bbfd52a5e Implement changes for Android, Xcode, C89 & CXX.
Fix bad match in removal of parens and brackets.
Use libretro string comparison features instead of a long char-wise
comparison.
2019-07-28 12:39:00 +02:00
Tim Van den Langenbergh 55f4c04ff2 Add label_display_mode to playlist.
Add label_display_mode to JSON format.
Add label_display_mode to old playlist format.
Add label_display_mode to configuration.
Add label sanitization functions to libretro common.
2019-07-28 01:22:46 +02:00
Tim Van den Langenbergh fcf5d6bcdd Add sanitization settings to playlist.
Add sanitization functions to libretro-common.
Add sanitization functionality to menu display.
2019-07-28 01:14:40 +02:00
Brad Parker 070bc8dc0a only show Disc Information if there is a cdrom drive in the system 2019-07-24 20:27:35 -04: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
orbea 371087971d Silence clang warning.
menu/menu_displaylist.c:4974:44: warning: suggest braces around initialization of subobject [-Wmissing-braces]
         media_detect_cd_info_t cd_info = {0};
                                           ^
                                           {}
1 warning generated.
2019-07-22 07:48:19 -07:00
orbea e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
Twinaphex bc47daba5e
Merge pull request #9151 from Tatsuya79/master
Show/Hide disc options.
2019-07-21 14:16:12 +02:00
twinaphex 1fe213de8c (Qt/companion UI) Driver check for ui_companion_driver comes too early inside
of menu_setting.c - have to move the check to menu_displaylist.c
instead - this fixes 'User Interface' in Qt desktop menu - was
crashing
2019-07-21 14:10:51 +02:00
Tatsuya79 ab3ea0f3f3 Show/Hide disc options. 2019-07-21 12:16:16 +02:00
twinaphex b6b22a9a32 More shader refactors - make sure we can compile entirely
without shader support if HAVE_CG, HAVE_GLSL, HAVE_SLANG
and HAVE_HLSL are all not defined
2019-07-21 00:34:07 +02:00
twinaphex 836ce3bfbb Add HAVE_COMPRESSION ifdef 2019-07-19 18:42:20 +02:00
Brad Parker cc3b44f7ba cdrom: fix warnings, use dot for frame notation in disc info 2019-07-15 17:16:30 -04:00
Brad Parker cfc56bbad3 media: add Dreamcast detection, add version/release date to disc info for saturn and dreamcast 2019-07-15 12:24:31 -04:00
Brad Parker e843354b14 cdrom: use sys/ioctl header instead of stropts 2019-07-15 10:38:54 -04:00
twinaphex f5dc1b653d More CXX_BUILD buildfixes 2019-07-15 08:24:43 +02:00
twinaphex 8660994765 CXX_BUILD buildfix 2019-07-15 08:03:33 +02:00
Brad Parker 30c3b1ea9d cdrom: add Disc Information details 2019-07-15 00:23:20 -04:00
twinaphex cfc4183961 menu_displaylist_parse_information now properly returns count 2019-07-14 16:40:12 +02:00
twinaphex 1210ab9383 Add HAVE_CDROM ifdef 2019-07-14 16:36:28 +02:00
jdgleaver 4f3adb8d2c An environment callback for selectively hiding core options 2019-07-12 17:12:03 +01:00
twinaphex b7a85d392f Silence warnings 2019-07-12 16:31:16 +02:00
jdgleaver 380812f83e Core Options: Add sublabels + localisation support 2019-07-11 16:10:43 +01:00
twinaphex b2bf822f13 Add HAVE_AUDIOMIXER switch 2019-07-11 11:51:06 +02:00
twinaphex cd2b835f8c Fix for getting rid of warnings when compiling without libretrodb 2019-07-11 10:27:50 +02:00
twinaphex 5472f0bcf8 Add detail list for CDROM 2019-07-11 06:34:27 +02:00
twinaphex d9091a7b9e Add listing for disc info 2019-07-11 05:58:33 +02:00
twinaphex 21887aded5 Cut down on some code duplication 2019-07-11 05:53:55 +02:00
twinaphex 25e4af4a24 Start adding Disc Information 2019-07-11 05:45:49 +02:00
twinaphex ec1aef2e2c (menu_displaylist) Silence two CXX_BUILD warnings 2019-07-10 03:14:49 +02:00
Brad Parker 7016d8b51f cdrom: only show load/dump menu options if a drive is present on the system 2019-07-09 12:43:33 -04:00
Brad Parker 307cdad450 fix regression with slashes appearing in some strings 2019-07-09 11:28:27 -04:00
Brad Parker 119245e88b cdrom: add load disc callback 2019-07-09 11:17:17 -04:00
twinaphex 11ad4eb227 Change size of char tmp to 8192 2019-07-09 02:26:18 +02:00
Brad Parker cd98fa2745 cdrom: fix drive model string corruption 2019-07-08 16:06:35 -04:00
Brad Parker 15d97dbaf3 cdrom: add disc dump option 2019-07-08 16:06:35 -04:00
twinaphex a115b6bd84 Implement deferred list for Load CD 2019-07-05 19:55:04 +02:00
jdgleaver 248432ebcf Add option to remain in menu after saving/loading states 2019-07-05 13:27:16 +01:00
twinaphex 6c2f65c585 Fix code analysis warnings 2019-07-04 21:54:51 +02:00
Brad Parker 9a52595ce3 cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry 2019-07-03 14:19:32 -04:00
jdgleaver 027324815e Quick Menu: Add 'Set Core Association' option 2019-07-03 16:33:23 +01:00
twinaphex 72eed727d0 Start implementing 'Dump Disc' as deferred list 2019-07-03 03:51:00 +02:00
twinaphex 4fdf33e5f8 (CDROM) Add Load Disc/Dump Disc 2019-07-03 01:08:20 +02:00
jdgleaver 1e17cca64d Playlist Management: Add 'Reset Core Associations' option 2019-07-02 12:00:38 +01:00
jdgleaver 0be44e57ad Overhaul default playlist core association 2019-06-26 17:42:26 +01:00
twinaphex 2cad59092c (menu_displaylist.c) Fix warning 2019-06-20 08:43:22 +02:00
radius d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02: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 42e35c825f refactor some video_shader_parse functions
- video_shader_parse_type()'s fallback only worked for NULL paths and was wrongly used, now returns RARCH_SHADER_NONE like video_shader_get_type_from_ext().
 - video_shader_get_type_from_ext() should not be checking video driver flags, this is instead done by video_shader_is_supported()
 - video_driver_get_all_flags() did not actually 'get' flags, changed to video_driver_test_all_flags()

workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-18 13:12:56 +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
twinaphex fa55047e2e (config.features.h) Turn static const variables into macros 2019-06-13 22:34:24 +02:00
Brad Parker c962da0ddb add video setting to select gpu (currently implemented for vulkan) 2019-06-13 12:47:08 -04:00
jdgleaver e2a79daa44 Increase size of playlist core association arrays 2019-06-12 12:01:31 +01:00
jdgleaver 60f5721656 (RGUI) Enable playlist display on platforms without database support 2019-06-10 12:00:04 +01:00
Twinaphex 3ec1a4d73e
Merge pull request #8935 from jdgleaver/xmb-thumb-size
(XMB) Add optional thumbnail scaling
2019-06-07 20:00:30 +02:00
jdgleaver cfaaa5eeff (XMB) Add optional thumbnail scaling 2019-06-07 16:38:17 +01:00
jdgleaver c03b20db55 - Hide content information 'Database Entry' item if content has no label
- Correctly handle error conditions in menu_displaylist 'DISPLAYLIST_DATABASE_ENTRY' case (i.e. prevent segfaults/menu lockups when content
has no label)
2019-06-07 11:23:06 +01:00
jdgleaver 97aaf42446 Overhaul content 'Information' menu display 2019-06-06 17:37:32 +01: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
Ryunam ed1d98d2a2 Add toggle to show/hide mouse cursor with overlays 2019-06-02 23:48:01 +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
Brad Parker 725fe6197d add CPU model to system info 2019-05-22 10:50:21 -04:00
twinaphex 7a7d2303b5 Only show GPU Screenshots if video driver supports viewport read 2019-05-22 07:15:04 +02:00
twinaphex 6aed230930 Reimplement 'Take Screenshot' - if GPU-accelerated viewport screenshots
are not available, resort to raw screenshots instead
2019-05-22 07:08:11 +02:00
twinaphex 9220248c32 Remove double entry 2019-05-21 17:23:28 +02:00
radius 95dbb040b0 add restart menu option
add sublabels

Add .gitlab-ci.yml

Update .gitlab-ci.yml
2019-05-21 04:25:34 +02:00
twinaphex 71bd327325 Don't need this 2019-05-20 02:23:35 +02:00
M4xw 3834d29fcb Revert "Simplify menu_displaylist_parse_cores"
This reverts commit 269a95b0bf.
2019-05-19 23:51:07 +02:00
twinaphex f6f9d8e9d4 (Load Core) Ignore zip files; was erroring out for some people 2019-05-19 01:40:06 +02:00
twinaphex 59c502d0f4 menu_entries_get_last_stack - don't pass enum_idx to it if we
aren't going to use it
2019-05-18 19:25:35 +02:00
jdgleaver f0bbfb4094 Fix history playlist navigation after running content 2019-05-17 14:23:00 +01:00
jdgleaver 05c8694e1c Add 'Download Thumbnails' option to quick menu 2019-05-16 14:34:01 +01:00
twinaphex 269a95b0bf Simplify menu_displaylist_parse_cores 2019-05-15 13:09:31 +02:00
jdgleaver 154957505c Add playlist-based thumbnail downloader 2019-05-14 16:26:16 +01:00
radius 35910e8785 fix #8725 2019-05-14 07:58:29 +02: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 078cdd269f video_layout menus 2019-05-11 09:58:47 +01:00
jdgleaver 10ef7dd561 Load content runtime data 'on demand' (#8717)
* Load content runtime data 'on demand'

* Fix LGTM warning
2019-05-09 08:24:06 -05:00
twinaphex 7530436918 Better way to check if there is a resolution list - should
hide this entry on Android
2019-05-07 00:32:07 +02:00
twinaphex 705851b147 Add 'Scan without Core Match' 2019-05-05 21:54:49 +02:00
twinaphex aaff9d6d55 (Lakka) SD_FLAG_LAKKA_ADVANCED should only be honored by Lakka 2019-05-05 21:21:43 +02:00
twinaphex 18fd85de24 Add easy way to enable/disable shaders 2019-05-05 20:52:09 +02:00
twinaphex 0b426b2022 This should hide the CRT SwitchRes option on systems
where it's not supported
2019-05-05 16:33:25 +02:00
twinaphex a0b2d97ca3 Hide 'Take Screenshot' for video drivers that don't support
taking screenshots yet
2019-05-05 13:46:26 +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 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 39eadbab6f Use string_concat in more performance critical areas 2019-04-30 21:17:51 +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 415646111b (Settings) Libretro log level should be available again
(Logging) SET_SUBSYSTEM_INFO and GET_VARIABLE should only
do verbose logging if libretro logging level is set to DEBUG
2019-04-28 01:55:49 +02:00
twinaphex 7502914a1d parse_horizontal_content_actions - use path_is_valid instead of
filestream_exists
2019-04-27 13:33:05 +02:00
twinaphex c56225ab65 (Menu displaylist) Cleanups 2019-04-27 06:22:49 +02:00
twinaphex 9a6df2b591 (Menu displaylist) Cleanups 2019-04-27 06:18:40 +02:00
twinaphex 1c2cbe596c Fix selected entries on dropdown menus 2019-04-27 01:15:14 +02:00
M4xw ca80a3a4da [Libnx] Toolchain related changes
-Remove switch_pthread - It should be no longer used
-Increase SAVE_STATE_CHUNK to 4MB
-Fix overclocking on Horizon 8.0+

Note: This requires the updated Toolchain before Merge
2019-04-26 21:58:40 +02:00
twinaphex 246e224626 (menu displaylist) Fix shader preset/shader pass selection 2019-04-26 02:58:57 +02:00
twinaphex cd11385348 Fix bug with Quick Menu -> Controls 2019-04-26 02:53:57 +02:00
twinaphex 0b5a62ff9e (Menu) Cleanups 2019-04-26 01:44:52 +02:00
twinaphex 9edf8ecab0 (menu displaylist) Cleanups 2019-04-26 01:16:55 +02:00
twinaphex 30c08c369c (menu displaylists) Simplifications 2019-04-26 01:07:26 +02:00
twinaphex aed89c053b (menu displaylist) Cleanups 2019-04-25 05:32:19 +02:00
twinaphex fa09b29ad9 (menu displaylist) Cleanups 2019-04-25 05:28:52 +02:00
twinaphex c45699aeae (menu displaylist) Cleanups 2019-04-25 05:15:29 +02:00
twinaphex 71e07316db (menu displaylist) Cleanups 2019-04-25 04:52:52 +02:00
twinaphex 8fc40d2a2a Menu displaylist - prevent segfault with shader parameters screen
when a shader has no parameters and handle does not exist
2019-04-24 18:07:12 +02:00
twinaphex 59b45f7812 Start making HAVE_OPENGL_CORE independent 2019-04-24 03:23:57 +02:00
Twinaphex 3e15f1b512
Merge pull request #8626 from retrotails/master
add rgui snow
2019-04-24 01:39:44 +02:00
twinaphex f3a31ffd8d Increment count correctly per entry added 2019-04-24 01:21:24 +02:00
twinaphex 22ac50d39c (menu displaylist) Cleanups 2019-04-23 23:59:05 +02:00
twinaphex e7cb5ccdee menu_displaylist_parse_playlist - cleanups 2019-04-23 23:50:30 +02:00
twinaphex 70d0bd5092 If we are inside online updater screen and go back ingame and then
go back to the menu, we would become stuck inside this menu because
there were no entries. This has now been fixed
2019-04-23 23:35:52 +02:00
twinaphex 589e886954 (Database menu) Add no entries to display when there are no entries
inside a database file
2019-04-23 21:59:58 +02:00
twinaphex 4d7f9a85f1 Cleanup menu_displaylist_parse_playlists 2019-04-23 21:52:41 +02:00
twinaphex 6268d979c0 Cleanups 2019-04-23 19:20:49 +02:00
twinaphex aba9cbb5b4 Cleanups 2019-04-23 18:51:03 +02:00
twinaphex ff3a3f80d3 Cleanups 2019-04-23 18:41:50 +02:00
twinaphex b25372b6f7 (menu displaylist) Cleanups 2019-04-23 18:39:24 +02:00
twinaphex a2d4577a1f Simplify parse_settings_internal_enum 2019-04-23 18:21:48 +02:00
twinaphex d1e4ada773 menu_displaylist_parse_settings_internal_enum - optimize - if
setting is flagged as advanced and advanced settings are not
enabled, then do early return
2019-04-23 17:11:29 +02:00
twinaphex 804fab61bc SImplify menu_displaylist_parse_type 2019-04-23 17:03:29 +02:00
twinaphex a53c67791b Simplify menu_displaylist_parse_settings_internal_enum 2019-04-23 14:39:36 +02:00
retrotails 499d61cb3d added rgui snow 2019-04-23 04:33:10 -04:00
twinaphex 4b3b9add3e (menu displaylist) Cleanups 2019-04-23 07:26:58 +02:00
twinaphex d1f99e4610 (menu displaylist) Cleanups 2019-04-23 07:24:40 +02:00
twinaphex 5ca821c9db (menu displaylist) Cleanups 2019-04-23 07:13:26 +02:00
twinaphex 485b41163c Cleanup create_string_list_rdb_entry_int 2019-04-23 06:14:54 +02:00
twinaphex e686cb34b0 (menu displaylist) Cleanups 2019-04-23 04:28:53 +02:00
twinaphex afbc113e7b (Menu displaylist) Cleanups 2019-04-23 04:19:28 +02:00
twinaphex 3c130927d3 (menu displaylist) Refactor latency settings list 2019-04-23 04:03:29 +02:00
twinaphex 15000edf11 (menu_displaylist) Cleanups 2019-04-23 03:54:33 +02:00
twinaphex 4dd95212ac (menu displaylist) Get rid of duplicate function 2019-04-23 03:10:55 +02:00
twinaphex 7311aa6a69 (menu displaylist) More simplifications 2019-04-23 03:06:07 +02:00
twinaphex 52874b6316 Make the two parse_settings functions more alike 2019-04-23 02:51:44 +02:00
twinaphex e4f48fac19 (C89_BUILD) Fix C89_BUILD 2019-04-23 02:23:27 +02:00
twinaphex 8811a4a8f9 (menu displaylist) More cleanups 2019-04-23 02:11:34 +02:00
twinaphex 8c3c34f984 (menu_displaylist) More cleanups 2019-04-23 01:32:05 +02:00
twinaphex 70ece8435c (menu displaylist) Code cleanups 2019-04-23 01:21:51 +02:00
twinaphex 563253f268 More work to make HAVE_OPENGL1 independent 2019-04-22 22:59:48 +02:00
twinaphex d08f9cb212 (menu_displaylist) menu_displaylist_parse_core_info - cut down on more
code duplication
2019-04-22 20:22:24 +02:00