Commit Graph

10326 Commits

Author SHA1 Message Date
jdgleaver 58ad81f063 Menu drop-down lists: Add proper titles, and remember last postion when navigating core options 2019-09-24 17:41:06 +01:00
Twinaphex 89ae74fba6 (MaterialUI) Fix handle float cast overflow 2019-09-24 11:38:47 +02:00
jdgleaver ef710442f1 (Ozone) Add option to toggle between static and scrolling content metadata 2019-09-23 15:33:20 +01:00
twinaphex 3307e65ad3 Fix FPS text in threaded video mode 2019-09-23 09:22:35 +02:00
twinaphex 01dc71f598 (menu_driver.c) Cleanups 2019-09-23 04:49:01 +02:00
twinaphex 17fb07cb85 (Menu) Simplify menu_entries_get_core_title 2019-09-23 04:44:22 +02:00
twinaphex 0314921434 (menu_cbs_deferred_push.c) Cleanups 2019-09-23 04:31:12 +02:00
twinaphex dde7c28730 (menu_shader.c) Cleanups 2019-09-23 04:27:03 +02:00
twinaphex 682b403a9c menu_content.c - This file is no longer necessary 2019-09-23 04:24:00 +02:00
twinaphex 08d3fe8c04 Cleanups 2019-09-23 04:19:52 +02:00
twinaphex 82259a086e Make action_scan_directory safer - fill_pathname_join now doesn't
have the same variable for arguments 1 and 2
2019-09-23 04:14:10 +02:00
twinaphex b94b9e2adb Go back to plain strlcpy/strlcat - probably best to look at
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex ed29c6f59c Start going for consistent memory representation - instead of
'memory used' needs to become 'memory free'
2019-09-22 03:57:59 +02:00
twinaphex d356f88fb5 Memory details can now be shown individually without FPS and
frame count
2019-09-22 03:21:36 +02:00
twinaphex 1ed38ddb2d Start using return values of fill_pathname_ functions 2019-09-21 00:22:40 +02:00
twinaphex 3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
Twinaphex 3da84396b6 Remove unused variables 2019-09-20 17:34:35 +02:00
Twinaphex bcb7e14d0f
Merge pull request #9490 from jdgleaver/horiz-mouse-wheel-fix
Improve horizontal mouse wheel (tilt) navigation
2019-09-20 16:16:50 +02:00
jdgleaver eb72a2e7d2 Improve horizontal mouse wheel (tilt) navigation 2019-09-20 14:16:21 +01:00
jdgleaver dacf9e327a (RGUI) Ensure display is always refreshed when pointer input is active 2019-09-20 11:04:31 +01:00
twinaphex 2a8798b729 Cleanups 2019-09-20 09:31:18 +02:00
twinaphex ec4bfd7827 Silence some warnings - statement unreachable etc. 2019-09-20 06:17:40 +02:00
twinaphex 7173efe10f (Network/Relay Server Location) RetroArch crashed when pressing
left while Relay Server Location entry was selected - index offset
would set itself to -1 and cause a buffer overflow
2019-09-20 04:14:32 +02:00
twinaphex 43000d2e24 (Networking) Fix memory leak that could happen at exit after a network
operation has ran (menu_driver_data->core_buf gets allocated inside
cb_net_generic_menu and doesn't get freed until the function is ran
again
2019-09-20 04:08:03 +02:00
twinaphex db624a7c99 Start cleaning up the rather messy manual assignment 2019-09-20 02:03:26 +02:00
jdgleaver 8655038601 Overhaul menu mouse/touchscreen input handling 2019-09-19 16:53:22 +01:00
twinaphex 71cc43651a (Ozone) Fix regression with sidebar textures 2019-09-19 09:03:07 +02:00
twinaphex ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
twinaphex 3a61cfe6ec Cleanup menu_displaylist_parse_content_information 2019-09-18 10:20:06 +02:00
twinaphex 6eaf19533b (sublabels) Optimizations 2019-09-18 09:37:32 +02:00
twinaphex 8f8a9863ad Optimize sublabel_playlist_entry by removing snprintf 2019-09-18 09:28:37 +02:00
twinaphex f663c64cd4 (MaterialUI/Ozone) Prevent more unnecessary strlcats 2019-09-18 06:43:01 +02:00
twinaphex a9ef8333eb Rewrite menu_entries_get_core_title 2019-09-18 06:35:21 +02:00
twinaphex 6d89bbfe61 (Menu animation) Avoid some strlcat usage here too 2019-09-18 05:54:32 +02:00
twinaphex b0a8f5d775 (menu displaylist) Some more cleanups 2019-09-18 05:40:06 +02:00
twinaphex 8fa6230426 Cleanups 2019-09-18 02:16:47 +02:00
twinaphex b28c405377 Backport and rebase initial FPGA port that was done in 2017 (port
done for Z-Turn board) - has some outstanding issues such as
very slow framebuffer software rendering output that needs to
be overcome before this becomes usable - community help needed
2019-09-17 08:16:50 +02:00
twinaphex b6a6127509 Replace more snprintf usage 2019-09-17 07:30:29 +02:00
twinaphex 7d58bb9799 Avoid more snprintf usage 2019-09-17 06:34:00 +02:00
twinaphex 712547cb2b C89_BUILD fix 2019-09-17 03:59:59 +02:00
twinaphex d01ae6929d Don't use strlcat for basic concatenation of characters
except when absolutely necessary
2019-09-17 02:00:04 +02:00
twinaphex 4ea493c86c Turn cheat_manager_free into static function 2019-09-17 01:20:30 +02:00
Yoshi Sugawara ae6e2f5df5 (cheevos) create a local string var to set the sublabel attribute when calling rcheevos_get_description. This prevents an unintended pointer reassignment and can cause a crash on strlcpy on some platforms 2019-09-16 12:54:03 -07:00
twinaphex 86839db417 set_label_shader_watch_for_changes - simplify 2019-09-16 20:02:49 +02:00
benoa 744fac6777 Wii: Add wiimote lightgun support 2019-09-15 00:46:02 +02:00
Twinaphex f004666674
Merge pull request #9456 from jdgleaver/date-format
Menu time/date: Add 12-hour versions of all formats + clean ups
2019-09-10 17:58:11 +02:00
jdgleaver c645d43598 'CXX_BUILD=1' build fix 2019-09-10 16:49:07 +01:00
jdgleaver a0fd9d21d2 Enable customisation of runtime 'last played' display format 2019-09-10 16:14:38 +01:00
jdgleaver 25006cadfe Menu time/date: Add 12-hour versions of all formats + clean ups 2019-09-09 14:06:49 +01:00
meepingsnesroms 85f46b9899 Remove unfinished translation files 2019-09-08 20:14:23 -07:00
jdgleaver 518f1bae20 (RGUI) Handle window resize event edge case 2019-09-06 14:52:33 +01:00
jdgleaver 5d5de8ce51 (RGUI) Ignore window resize events until next menu toggle after accessing video settings 2019-09-06 14:25:57 +01:00
jdgleaver a6ee786a4f (RGUI) Correctly rescale menu when resizing window if aspect ratio lock is enabled 2019-09-06 13:29:59 +01:00
jdgleaver 35f7110c41 Smooth line ticker - replace scissor operation with fade in/out animation 2019-08-30 14:28:07 +01:00
jdgleaver daeff97f7e (XMB) Add smooth scrolling vertical line ticker (for sublabels) 2019-08-29 16:48:10 +01:00
LazyBumHorse e97a31a46c fix shader loading and saving in content-less cores 2019-08-28 21:15:37 +02:00
LazyBumHorse 2c028964c9 fix video_driver_get_ident for thread wrapper 2019-08-28 09:43:22 +02:00
LazyBumHorse 886d538c48 implement video_shader_delay setting (in ms), which delays auto-shaders 2019-08-27 16:01:48 +02:00
Twinaphex 1091193ed5
Revert "[Switch] Really fix splitting/joining JoyCons via single option" 2019-08-26 14:22:58 +02:00
rsn8887 8c0c0e3eae [Switch] Really fix splitting/joining JoyCons via single option 2019-08-24 21:08:35 -05:00
Twinaphex 6a5b01df33 Return ret 2019-08-24 20:30:00 +02:00
twinaphex aa95b721dd Reset frame time counter after doing menu context reset 2019-08-24 20:13:33 +02:00
twinaphex fd0232ba71 Add titles for shader preset save/remove 2019-08-24 19:40:24 +02:00
twinaphex f80d77c06c Add sublabels for XMB menu animations 2019-08-24 18:47:25 +02:00
Twinaphex 6dac79d1dc
Merge pull request #9347 from LazyBumHorse/get_default_shader_dir
disable get_default_shader_dir() for now
2019-08-24 18:38:45 +02:00
twinaphex 4f5f32f5aa Add sublabel for menu widgets 2019-08-24 18:37:57 +02:00
LazyBumHorse 215f8f7838 disable get_default_shader_dir() for now 2019-08-24 18:33:14 +02:00
twinaphex 94e2d646be Add Frame Time Counter settings 2019-08-24 18:18:24 +02:00
LazyBumHorse 9b71340959 finish up shader menu changes, add 'remove presets' to Qt 2019-08-24 16:43:52 +02:00
twinaphex a93b99b919 Hook up start button to 'Load Core' - will unload a core 2019-08-24 08:31:07 +02:00
twinaphex 5b04350376 (Ozone) Update - hide Load Core when core and/or content is running 2019-08-24 06:41:59 +02:00
twinaphex d492f1acaf Hide 'Load Core' when a core is already loaded and the libretro
core has started running its runloop
2019-08-24 06:37:10 +02:00
twinaphex b1d3818ed5 (Qt UI) Dehardcode input.cpp ; merge throttle.cpp into generic.cpp 2019-08-24 04:33:42 +02:00
twinaphex 8d9812985b Add this to the header 2019-08-24 03:34:03 +02:00
twinaphex 7bae97d762 These settings are moved to submenus now 2019-08-24 02:50:11 +02:00
twinaphex 1b20680e3f (MaterialUI) Add icons 2019-08-24 02:07:43 +02:00
twinaphex b66c5581db Add Shader Preset Save / Remove 2019-08-24 01:44:50 +02:00
twinaphex e80f57310d Don't hide this behind advanced settings anymore 2019-08-23 21:57:44 +02:00
twinaphex 9ba2936f9a Add label for AI Service Mode 2019-08-23 20:00:33 +02:00
twinaphex f6d2768181 (Ozone) Add 'Load Disc/Dump Disc' entries to Ozone
(Ozone) Add texture for disc
(Disc) Add sublabels for Load Disc/Dump Disc
2019-08-23 18:35:04 +02:00
twinaphex 26e8cb7ff0 (MaterialUI) Add missing icons 2019-08-23 18:16:09 +02:00
twinaphex 619fbd0e60 (XMB) Add icons for discs 2019-08-23 17:57:58 +02:00
twinaphex af775fb032 Enable playlist sublabels by default - should have minimal file I/O
overhead - maybe a slight dip from fullspeed/60fps to 59.90/59.10fps at
worse when flicking through playlist entries for the first time (it's
cached after first viewing) - after 1.7.8 we can further micro optimize
this
2019-08-23 17:33:59 +02:00
twinaphex f0e2d47ffb Add content runtime per log options to Settings -> Playlists 2019-08-23 17:26:41 +02:00
twinaphex c990b29c09 Enable content runtime log by default 2019-08-23 17:10:56 +02:00
twinaphex 8841fb4005 Slim down help section - we're going to have an integrated walkthrough
of sorts in later versions
2019-08-23 17:01:03 +02:00
twinaphex 622a184fd4 (Menu) Add shortcut to On-Demand Menu Thumbnails from Online Updater
category
2019-08-23 16:48:04 +02:00
jdgleaver c27149bb67 (RGUI) Make particle effects framerate independent + add animation speed setting 2019-08-23 12:22:30 +01:00
Twinaphex f7cda5f753
Merge pull request #9336 from LazyBumHorse/preset_reference
save unmodified auto-shaders as a reference instead of a copy
2019-08-23 03:38:04 +02:00
twinaphex 6595aef508 Add missing sublabel 2019-08-23 03:09:29 +02:00
twinaphex f23172ba81 Ability to hide every setting category now 2019-08-23 03:06:38 +02:00
twinaphex 09ac01afd2 Buildfix 2019-08-23 00:46:06 +02:00
Twinaphex e1260b2186 Remove unused variables 2019-08-22 23:40:14 +02:00
twinaphex 2a70b3533c Don't use itoa - not available on OSX 2019-08-22 23:37:23 +02:00
twinaphex 32029731c0 Hook up remaining languages 2019-08-22 22:20:31 +02:00
twinaphex eca2f0a663 Start adding translation language names 2019-08-22 21:15:07 +02:00
twinaphex 5b71939848 Add target_lang/source_lang options 2019-08-22 19:39:00 +02:00
jdgleaver 37190b8f7d (RGUI) Optimise smooth ticker text 2019-08-22 17:51:57 +01:00
LazyBumHorse 813a5cc370 fix edge case where resetting shader parameter wasn't counted as a modification 2019-08-22 18:08:58 +02:00
LazyBumHorse a882901e39 save unmodified auto-shaders as a reference instead of a copy, see:
- implement #reference directive for auto-shaders
 - replace usual preset saving and loading functions with video_shader_read_preset() and video_shader_write_preset()
 - apply saved presets automatically for console menus
 - move auto-shader saving logic from menus into menu_shader.c menu_shader_manager_save_auto_preset()
 - refactor menu_shader_manager_save_preset() into menu_shader_manager_save_preset_internal()
2019-08-22 16:57:28 +02:00
jdgleaver 5903463734 Line ticker bug fix 2019-08-22 15:16:29 +01:00
jdgleaver 84dac7745e Make smooth ticker text scroll speed resolution independent 2019-08-22 11:49:05 +01:00
twinaphex 9a36851beb (AI Service) Add sublabels 2019-08-22 07:22:52 +02:00
twinaphex a612e7a4c3 Hook up AI Service settings 2019-08-22 07:07:34 +02:00
twinaphex fea7694027 Add AI Service settings 2019-08-21 20:43:32 +02:00
twinaphex f6c451fafe Enable ticker smooth by default 2019-08-21 18:52:08 +02:00
Twinaphex 35c336e3ab
Merge pull request #9333 from jdgleaver/smooth-ticker
Add optional smooth scrolling menu ticker text
2019-08-21 18:42:20 +02:00
twinaphex 894b05dd40 Silence warnings 2019-08-21 18:41:49 +02:00
jdgleaver 8569e65c18 Add optional smooth scrolling menu ticker text 2019-08-21 17:01:20 +01:00
twinaphex e536911bb0 Buildfix for C89_BUILD 2019-08-21 08:14:39 +02:00
twinaphex b19d83c1e4 Set default values for some settings 2019-08-21 03:18:11 +02:00
twinaphex 039daf3374 Ability to hide 'Input Settings' 2019-08-21 00:27:40 +02:00
twinaphex 7bce5783aa Add User Interface -> Views -> Settings 2019-08-21 00:04:34 +02:00
twinaphex ab5e5d3a80 Add Quick Menu -> Views ->'Show Resume/Restart/Close content' 2019-08-20 18:08:44 +02:00
twinaphex b46545cd64 menu_driver_frame - use video_info->menu_is_alive instead 2019-08-20 17:04:06 +02:00
twinaphex dd83bc98a2 (menu_driver.c) Avoid function calls when possible 2019-08-20 16:38:45 +02:00
twinaphex 525d63f9ec use menu_entries_get_selection_buf_ptr_internal 2019-08-20 16:24:10 +02:00
twinaphex d8860104d3 Get rid of file_list_get_alt_at_offset 2019-08-20 06:13:33 +02:00
twinaphex 74c79e3962 Don't go through these superfluous functions 2019-08-20 06:03:28 +02:00
twinaphex c38b8bee45 Cleanups 2019-08-20 05:03:12 +02:00
twinaphex 9ece732348 (Menu settings) Turn function static and some style nits 2019-08-20 03:44:17 +02:00
twinaphex afc7f9ae12 (menu setting) Cleanups 2019-08-20 03:32:53 +02:00
twinaphex cc86a78740 change_handler gets called every frame, so make this as
efficient as possible
2019-08-20 03:26:17 +02:00
twinaphex 72bde77ef0 Ability to set FPS update interval (new setting - fps_update_interval) 2019-08-20 03:05:52 +02:00
twinaphex 73663104b3 Add separate setting for Frontend Logging Level 2019-08-20 01:34:40 +02:00
twinaphex ad71451432 Add frontend log level setting 2019-08-20 01:18:26 +02:00
twinaphex eff7cb467e Don't hide 'Show Quit RetroArch' for regular RetroArch 2019-08-20 01:07:16 +02:00
Twinaphex 7c16b9e836 Get rid of unused variables 2019-08-18 20:51:43 +02:00
twinaphex db043a7fd7 Less references to internal pointer 2019-08-18 17:04:14 +02:00
twinaphex b13ee8485f Start passing shader pointer to menu_shader.c functions 2019-08-18 16:59:09 +02:00
twinaphex c963b3be6a menu_display_toggle_reason was never used, get rid of it 2019-08-18 16:41:01 +02:00
twinaphex 9c81253226 (menu_shader.c) Style nits/cleanups 2019-08-18 16:33:36 +02:00
LazyBumHorse 288c673c61 fix not being able to apply shader if none was loaded before 2019-08-18 10:11:01 +02:00
twinaphex 52f8bef386 Buildfix for non-shader builds 2019-08-18 00:48:56 +02:00
LazyBumHorse be20b9c283 implement global shader presets 2019-08-17 22:11:17 +02:00
twinaphex dec409bf17 Revert "Cleanups"
This reverts commit cb9a9e9525.
2019-08-17 18:51:09 +02:00
twinaphex cb9a9e9525 Cleanups 2019-08-17 16:59:18 +02:00
Twinaphex 5e2e1c82c5
Merge pull request #9315 from LazyBumHorse/set-shader
add --set-shader and overhaul shader loading logic
2019-08-17 16:32:42 +02:00
LazyBumHorse 719555bae1 Overhaul shader loading logic, add --set-shader CLI option 2019-08-17 15:20:51 +02:00
jdgleaver 28083c7b54 (XMB/Ozone) Fix display of horizontal playlists 2019-08-16 17:36:13 +01:00
jdgleaver 75ae05d287 (menu_thumbnail_path) API clean-up + tiny bug fix 2019-08-16 15:49:57 +01:00
twinaphex f61602de59 Buildfix 2019-08-16 16:09:15 +02:00
twinaphex bf8edb18b8 Cleanups 2019-08-16 16:04:39 +02:00
twinaphex 8c74de7787 (Menu) cleanups 2019-08-16 15:51:22 +02:00
twinaphex 9d61590540 Merge menu_entries.c into menu_driver.c 2019-08-16 15:40:45 +02:00
twinaphex 9456d88ce4 Cleanups 2019-08-16 15:36:44 +02:00
twinaphex c69c972942 (Menu) Cleanups 2019-08-16 15:17:33 +02:00
jdgleaver 3da96deec3 Enable per-playlist thumbnail selection 2019-08-15 18:05:31 +01:00
twinaphex 111a7fea92 (Menu widgets) Should use MAX macro here from retro_miscellaneous.h 2019-08-15 15:56:30 +02:00
twinaphex a5f411ef5c Cleanups 2019-08-15 15:50:26 +02:00
twinaphex 92dec44b0e menu_widgets_push_achievements always returns true 2019-08-15 15:48:08 +02:00
twinaphex edaf8eb702 menu_widgets_volume_update_and_show always returns true 2019-08-15 15:46:16 +02:00
twinaphex 6c775ef170 These functions always return true 2019-08-15 15:42:24 +02:00
twinaphex 17957e0816 (Menu widgets) DO away with == NULL/!= NULL checks 2019-08-15 15:17:01 +02:00
twinaphex 57df6dda82 (Menu widgets) Some architectural cleanups -
* Don't have all these manual setters
* Don't copy over the FPS text, instead make use
of video_info->fps_text
* Boolean checks always returned true anyway, so
avoid unnecessary conditional checks
2019-08-15 15:13:07 +02:00
twinaphex a500219d8c Move menu_widgets_ready to retroarch.c 2019-08-15 14:56:38 +02:00
twinaphex 6c671faed6 Start preparing for menu_widgets_ready to be moved to retroarch.c 2019-08-15 14:20:51 +02:00
twinaphex d30b2ecaca Merge menu_input_dialog.c into retroarch.c 2019-08-15 01:08:34 +02:00
twinaphex ba3e940cac (menu_driver.c) Cleanups 2019-08-14 17:19:39 +02:00
twinaphex 295e6f8e14 Move menu_input_dialog_keyboard_display to retroarch.c 2019-08-14 16:52:26 +02:00
twinaphex 02eaad8587 Reduce two functions to one 2019-08-14 14:46:17 +02:00
twinaphex 890008491c Cleanups 2019-08-14 02:49:54 +02:00
twinaphex 36ed0ca34f menu_display_get_dpi - don't use video_driver_get_size inside function 2019-08-13 17:12:55 +02:00
Twinaphex aaac54783d
Merge pull request #9298 from jdgleaver/rgui-check-mark
(RGUI) Add marker for currently selected item in drop down lists
2019-08-13 17:09:01 +02:00
twinaphex 7d10c1a9ff (menu widgets) No longer use video_driver_get_size 2019-08-13 16:47:56 +02:00
jdgleaver 6d95075c6a (RGUI) Add marker for currently selected item in drop down lists 2019-08-13 15:29:25 +01:00
twinaphex 17d2ce5220 (Menu display D3D8/D3D9) We should be able to use
video_info->width and video_info->height instead of
having to use video_driver_get_size
2019-08-13 13:17:56 +02:00
twinaphex 022b22a4cd Pass video_driver_width and video_driver_height
to menu driver render callback function so that
we don't have to call video_driver_get_size anymore
2019-08-13 12:50:24 +02:00
twinaphex c0bfbd1ae8 Revert "(XMB) xmb_render - Extra call to video_driver_get_size"
This reverts commit a918bbdc3a.
2019-08-13 12:16:30 +02:00
twinaphex a918bbdc3a (XMB) xmb_render - Extra call to video_driver_get_size 2019-08-13 12:15:59 +02:00
Twinaphex becfff597b
Merge pull request #9286 from jdgleaver/hide-quick-menu
(XMB/Ozone/GLUI) Prevent display of main menu 'Quick Menu' entry when dummy core is loaded
2019-08-13 02:47:18 +02:00
Brad Parker 3432f3b852 cdrom: initialize all buffers used for drive paths, make sure to null-terminate filled paths in all cases 2019-08-12 20:42:40 -04:00
jdgleaver e75911cee7 (XMB/Ozone/GLUI) Prevent display of main menu 'Quick Menu' entry when dummy core is loaded 2019-08-12 17:50:06 +01:00
twinaphex 7c78e0ad1e menu_event_kb_set no longer needed 2019-08-12 18:14:47 +02:00
twinaphex 6a4207fe55 (Menu setting) 'Quit Press Twice' - set default value 2019-08-12 12:12:16 +02:00
twinaphex 0bc99c8111 Buildfix 2019-08-12 09:06:58 +02:00
twinaphex 35732f9a8c get_default_shader_dir - go automatically to shaders_slang,
shaders_glsl or shader_cg if the current video driver and context
only supports one of the shader types instead of several
2019-08-11 22:50:19 +02:00
twinaphex 09675c26a9 Get rid of unused function menu_display_get_tex_coords 2019-08-11 17:49:49 +02:00
Twinaphex cfd229d95c
Merge pull request #9269 from Ryunam/ozone-playlistname-truncation
Add toggle to enable / disable playlist name truncation in Ozone Menu driver
2019-08-11 17:35:51 +02:00
twinaphex bbbc69886f Simplify menu_display_push_quad 2019-08-11 17:29:22 +02:00
twinaphex 24798d7841 (Menu) Get rid of unused SET_PENDING_QUIT/SET_PENDING_SHUTDOWN 2019-08-11 17:08:59 +02:00
twinaphex d4de1eaf7d (menu_input_dialog) Cleanups 2019-08-11 17:02:42 +02:00
twinaphex 3a7ab9bd40 Pressing Start on 'Load Shader Preset' will reset
all shader passes and apply changes, effectively disabling
the shaders
2019-08-11 16:57:02 +02:00
twinaphex 8647bbc36f Attempt to fix WiiU build 2019-08-11 14:48:32 +02:00
Ryunam 559e68d5a8 Attempt at buildfix and optimization 2019-08-10 15:26:02 +02:00
twinaphex 5c30b0803d Fix some typos in comments 2019-08-10 14:24:30 +02:00
twinaphex 7505251b40 Cleanups 2019-08-10 13:16:15 +02:00
twinaphex 7900faa419 Move menu_display_libretro to retroarch.c 2019-08-09 21:59:58 +02:00
twinaphex e51b93993b Move menu_driver_is_binding_state to retroarch.c 2019-08-09 21:41:10 +02:00
twinaphex b0f088d5fd Move menu_driver_is_alive to retroarch.c 2019-08-09 21:31:51 +02:00
twinaphex 4600195895 Refactor some menu_driver_alive code 2019-08-09 20:45:54 +02:00
Ryunam af42417734 Add toggle to enable / disable playlist name truncation in Ozone 2019-08-09 18:01:47 +02:00
twinaphex 759591d5a6 Cleanups 2019-08-09 17:05:50 +02:00
twinaphex 4d860c4d16 Move menu_driver_render to retroarch.c 2019-08-09 12:54:08 +02:00
twinaphex 6482a81ef5 Update menu_driver_render 2019-08-09 12:09:01 +02:00
twinaphex 82168c0925 Start preparing to move menu_driver_render 2019-08-09 11:59:46 +02:00
jdgleaver 6ead35b37c (Menu) Prevent undefined behaviour when failing to load shaders 2019-08-08 17:02:32 +01:00
twinaphex 7977570bc8 Cleanup 2019-08-08 14:32:14 +02:00
Twinaphex 05fecc4e15
Merge pull request #9263 from RobLoach/ozone-tic80-sidebar
ozone: Fix TIC-80 becoming '0' in playlist
2019-08-08 01:56:45 +02:00
Rob Loach 1a34ec14ac
ozone: Fix TIC-80 becoming '0' in playlist
Fixes #9234
2019-08-07 17:34:33 -04:00
jdgleaver ad11e7cc63 Add history/favourites to 'Playlist Management' menu 2019-08-06 16:53:52 +01:00
jdgleaver c341a8a019 (Ozone) Fix display of (semi-)transparent thumbnails 2019-08-04 12:11:09 +01:00
jdgleaver 2fc8f5b0bf Add option to save core options per-core 2019-08-02 15:44:51 +01:00
Twinaphex cf71d50424 Get rid of unused variable 2019-07-31 14:30:06 +02:00
Twinaphex 0297f69e98
Merge pull request #9229 from jdgleaver/favourites-size
Add independent 'favourites' playlist size setting
2019-07-31 12:35:15 +02:00
jdgleaver 9617856c5c Remove favourites init/deinit from command event, and replace with seperate functions in retroarch.h/.c 2019-07-31 11:32:19 +01:00
Twinaphex 7ebee349ad
Merge pull request #9214 from tmtvl/9107-playlist-name-sanitization
9107 playlist name sanitization
2019-07-30 21:48:30 +02:00
jdgleaver 5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
natinusala 863fd55951 menu_animation: don't update deleted tweens 2019-07-30 14:07:06 +02:00
Tim Van den Langenbergh 35e71ad786 Merge branch 'master' into 9107-playlist-name-sanitization 2019-07-30 12:41:19 +02:00
Brad Parker 7935cc80ee media: add function to parse cue and detect system from first data track 2019-07-30 02:37:00 -04:00
Brad Parker a191112634 cdrom: add PC Engine CD detection 2019-07-29 15:11:28 -04:00
Brad Parker 1977bc9d4a add NEED_GOLD_LINKER Makefile option, cdrom: increment count for extra fields to avoid "no entries" if system is not detected 2019-07-29 13:38:51 -04:00
Tim Van den Langenbergh d3a98fea79 Make wording of messages for label display mode clearer.
Use strlcpy for safety in sanitization.
Change label sanitization to use the No-Intro conventions.
Remove integer manipulation of enums for hash strings.
Add handler for start button on label display mode.
2019-07-29 19:08:15 +02:00
Tim Van den Langenbergh 771134eb52 More C89 compatibility fixes 2019-07-28 15:52:48 +02:00
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
twinaphex 65b4c2595e Update set keyboard mapping code for input driver 2019-07-27 02:21:24 +02:00
Twinaphex 9308b7e426
Merge pull request #9190 from natinusala/master
menu_widgets: fix crash with tasks
2019-07-25 18:02:49 +02:00
jdgleaver 14767265ba Achievements menu fixes 2019-07-25 11:49:49 +01:00
natinusala 73ff5334c5 menu_widgets: fix crash with tasks 2019-07-25 10:00:44 +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
twinaphex e6816163d1 Fix more header includes 2019-07-24 02:02:57 +02:00
twinaphex 0893d6b7b1 More header include fixes 2019-07-23 16:15:11 +02:00
twinaphex ba79947e51 This should prevent flushing of stack issues 2019-07-22 22:40:34 +02: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
Twinaphex 1661f86ec0
Merge pull request #9154 from LazyBumHorse/shader_paths
simplify video_shader_read_conf_preset() calls
2019-07-22 01:21:47 +02:00
orbea e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
LazyBumHorse f8b92770d4 simplify video_shader_read_conf_preset() calls 2019-07-21 18:15:28 +02: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 e7ba08a432
Merge pull request #9145 from yoshisuga/playlist_clean_ios_ifdefs
iOS: Clean up #ifdef HAVE_COCOATOUCH blocks related to playlist
2019-07-21 00:35:41 +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
Yoshi Sugawara 81c8aad119 clean up #ifdef HAVE_COCOATOUCH blocks related to playlist and replace with appropriate call to playlist_resolve_path() 2019-07-20 12:16:04 -10:00
Twinaphex 388c4857d3
Merge pull request #9140 from LazyBumHorse/shader_paths
much improved handling of relative shader paths
2019-07-20 21:54:58 +02:00
LazyBumHorse 2245af23e9 much improved handling of relative shader paths
- save texture paths in relative format as well
 - always write portable relative paths on Windows using '/' instead of '\'
 - remove an ancient piece of code that could sometimes fail loading relative paths
 - fix absolute path handling between different drives for Windows
 - integrate video_shader_resolve_relative() into video_shader_parse_* functions
2019-07-20 18:29:46 +02:00
Twinaphex 1e38504bf3
Merge pull request #9132 from yoshisuga/ios_fix_path_after_detect_core
[iOS]: more fixes for abbreviated paths when scanning files
2019-07-20 14:48:07 +02:00
twinaphex d905986a52 Rename functions - change rarch_ prefix to retroarch_ 2019-07-20 12:43:43 +02:00
Yoshi Sugawara 88a4c3e21b Created method playlist_resolve_path() to keep the platform specific ifdef in one location to resolve the path for the playlist. Also fix setting the core path from the default core path. 2019-07-19 16:00:10 -10:00
twinaphex eebfa11528 Show UI menubar setting 2019-07-19 20:00:31 +02:00
twinaphex 836ce3bfbb Add HAVE_COMPRESSION ifdef 2019-07-19 18:42:20 +02:00
jdgleaver 0b6ced74ac Increase menu sublabel buffer size + fix Ozone sublabel spacing 2019-07-19 16:04:16 +01:00
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
jdgleaver 7822a2d611 (XMB) Fix display of long sublabels 2019-07-18 16:58:43 +01:00
twinaphex 0cdfd4c542 Use config_file_new_from_path_to_string entirely 2019-07-18 16:15:02 +02:00