Commit Graph

2470 Commits

Author SHA1 Message Date
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 3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex db624a7c99 Start cleaning up the rather messy manual assignment 2019-09-20 02:03:26 +02:00
twinaphex ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +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 8fa6230426 Cleanups 2019-09-18 02:16:47 +02:00
twinaphex b6a6127509 Replace more snprintf usage 2019-09-17 07:30:29 +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
jdgleaver a0fd9d21d2 Enable customisation of runtime 'last played' display format 2019-09-10 16:14:38 +01:00
LazyBumHorse 886d538c48 implement video_shader_delay setting (in ms), which delays auto-shaders 2019-08-27 16:01:48 +02:00
Twinaphex 6a5b01df33 Return ret 2019-08-24 20:30:00 +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 b66c5581db Add Shader Preset Save / Remove 2019-08-24 01:44:50 +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
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 5b71939848 Add target_lang/source_lang options 2019-08-22 19:39:00 +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
twinaphex 9a36851beb (AI Service) Add sublabels 2019-08-22 07:22:52 +02:00
twinaphex fea7694027 Add AI Service settings 2019-08-21 20:43:32 +02:00
jdgleaver 8569e65c18 Add optional smooth scrolling menu ticker text 2019-08-21 17:01:20 +01: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 72bde77ef0 Ability to set FPS update interval (new setting - fps_update_interval) 2019-08-20 03:05:52 +02:00
twinaphex ad71451432 Add frontend log level setting 2019-08-20 01:18:26 +02:00
twinaphex b13ee8485f Start passing shader pointer to menu_shader.c functions 2019-08-18 16:59:09 +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 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
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 d30b2ecaca Merge menu_input_dialog.c into retroarch.c 2019-08-15 01:08:34 +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
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 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 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
Ryunam af42417734 Add toggle to enable / disable playlist name truncation in Ozone 2019-08-09 18:01:47 +02:00
jdgleaver ad11e7cc63 Add history/favourites to 'Playlist Management' menu 2019-08-06 16:53:52 +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 5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01: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
jdgleaver 14767265ba Achievements menu fixes 2019-07-25 11:49:49 +01: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
orbea e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07: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 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 0cdfd4c542 Use config_file_new_from_path_to_string entirely 2019-07-18 16:15:02 +02:00
twinaphex c0787accc3 Use config_file_new_from_path_to_string 2019-07-18 12:13:09 +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
Yoshi Sugawara dba1302360 Playlist (iOS): support abbreviating and expanding application and home directory paths so that playlist entries are valid across installs
iOS: add call to realpath() when setting directory to ensure expanding special chars in paths work; fixed braces style
2019-07-15 16:11:22 -10:00
twinaphex ad5773a031 Propagate 'label' as path for CDROM info detail list 2019-07-15 02:41:58 +02: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 5472f0bcf8 Add detail list for CDROM 2019-07-11 06:34:27 +02:00
twinaphex cb467c8656 Add titles and sublabels 2019-07-11 06:04:42 +02:00
twinaphex 25e4af4a24 Start adding Disc Information 2019-07-11 05:45:49 +02:00
Brad Parker cf12a10ba0 cdrom: add CDROM tag to log prints 2019-07-10 20:56:23 -04:00
twinaphex 84bf51acee Take out HAVE_CDROM include ut of vfs/vfs_implementation.h 2019-07-10 22:53:38 +02:00
Brad Parker 980de11974 cdrom: check if disc is inserted before trying to load or dump 2019-07-10 11:17:28 -04:00
Brad Parker 119245e88b cdrom: add load disc callback 2019-07-09 11:17:17 -04:00
twinaphex 606d3b465f Remove unused action_ok_push_load_disc 2019-07-09 02:22:32 +02:00
Twinaphex 77f9de47a5 (Apple) Fix some unused variable warnings 2019-07-09 02:01:37 +02:00
Brad Parker 15d97dbaf3 cdrom: add disc dump option 2019-07-08 16:06:35 -04:00
jdgleaver 1c4769d96f Fix 'Playlists' menu title 2019-07-08 15:20:48 +01: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 3cbb495bd2 Update 2019-07-04 18:42:38 +02:00
twinaphex 65bff18cb0 Add callback for dump disc entries 2019-07-03 22:28:12 +02:00
jdgleaver 027324815e Quick Menu: Add 'Set Core Association' option 2019-07-03 16:33:23 +01:00