Commit Graph

2943 Commits

Author SHA1 Message Date
twinaphex 2ef69d61ed Remove two unused functions 2020-07-17 00:29:01 +02:00
jdgleaver 75b3b5350c Add 'Notification Visibility' menu 2020-07-16 16:32:01 +01:00
Autechre 5b693b2ab4
Merge pull request #11023 from jdgleaver/task-autodetect
Rewrite 'task_autodetect.c': Ensure thread safety + clean-ups/rationalisation
2020-07-15 16:08:10 +02:00
twinaphex d3c8704417 Build fix 2020-07-15 13:38:20 +02:00
Yoshi Sugawara 897aee0bcf add more logging, use autolayout constraints to pin metal view to superview to support orientation changes easier 2020-07-14 17:49:38 -10:00
twinaphex 2427ebe0e8 Cleanups 2020-07-15 03:12:56 +02:00
twinaphex 47f86711a5 Cleanups 2020-07-15 03:08:56 +02:00
twinaphex f707994cb8 Get rid of gfx_ctx_network 2020-07-15 02:37:50 +02:00
jdgleaver 84a71ea133 Rewrite 'task_autodetect.c': Ensure thread safety + clean-ups/rationalisation 2020-07-14 17:46:58 +01:00
Autechre 84ca79fcc1
Merge pull request #11006 from Jamiras/save_task_wait
only wait for save task to complete
2020-07-12 19:14:04 +02:00
Autechre 72edc1ac7c
Merge pull request #11010 from Jamiras/cheevos_sound
(cheevos) add option to play custom sound on achievement unlock
2020-07-12 13:32:59 +02:00
twinaphex 8656b3d6f8 Create specialized optimized path_basedir_size 2020-07-11 19:29:43 +02:00
Jamiras 96c5f5dfb0 add option to play custom sound on achievement unlock 2020-07-11 10:56:09 -06:00
Jamiras 9aa42c9d5e only wait for save task to complete 2020-07-10 20:18:03 -06:00
Hugo Hromic f9f4a69512 (Drivers/Video) Implement frontend signal handling in null video driver
Allows RetroArch to gracefully exit when receiving stop signals, e.g.
`SIGINT` or `SIGTERM`, when using the null video driver.
2020-07-11 00:12:32 +01:00
Hugo Hromic 8123c0c0ec (Drivers/Input) Implement no-op stubs for null input driver
Prevents RetroArch from crashing if the "null" input driver is used with
the "null" video driver which provides no input driver.
2020-07-10 16:43:18 +01:00
twinaphex 375d6b9a2c (Emscripten) Buildfix 2020-07-09 17:32:13 +02:00
jdgleaver 506aa0a36c Add optional widget-based 'load content' launch feedback animation 2020-07-09 13:05:28 +01:00
twinaphex 4319379d57 Fix non-HAVE_NETWORKING targets 2020-07-09 13:39:15 +02:00
twinaphex f56b6a3a0f (GDI) Merge gdi_ctx.c into gdi_gfx.c 2020-07-09 09:25:10 +02:00
twinaphex ba5d735e2c CLeanup 2020-07-09 09:01:23 +02:00
twinaphex 6b466c6013 Cleanups 2020-07-09 07:46:40 +02:00
twinaphex f6c4890063 Get rid of cb_set_resize 2020-07-09 05:36:29 +02:00
twinaphex 68aa5dc0db Move more global state to rarch_state 2020-07-09 02:41:13 +02:00
twinaphex 2bdec2d0b3 Move content_state global state to rarch_state 2020-07-08 11:48:33 +02:00
twinaphex ae86cbaa3d Move non-Salamander code in frontend_driver.c outside to retroarch.c 2020-07-08 01:39:58 +02:00
Hugo Hromic 61aed8b911 (Menu/Drivers) Implement null driver protection for critical drivers
Can prevent the user from locking him/herself out of the program using the UI.
Protected drivers: input, joypad, hid, video and menu.

Note: Developer users can always override this protection by manually editing
the active configuration file or using `--appendconfig`.
2020-07-07 22:54:45 +01:00
Hugo Hromic 103d5dbf45 (Drivers) Cleanup unused `add_null_entries` parameter
Null driver entries will be now handled at the UI level.
2020-07-07 22:54:45 +01:00
Hugo Hromic c985dcc84d Revert "Add 'Ignore null drivers' setting"
This reverts commit f16f3d2968.
2020-07-07 22:54:45 +01:00
Yoshi Sugawara 6308ba1acb support ApplePlatform for iOS and conform app delegate class to it, move app delegate class to apple_platform.h, fix metal references for iOS 2020-07-07 05:03:42 -10:00
Autechre abfd0ed030
Merge pull request #10959 from jdgleaver/static-core-load
(Static Platforms) Add option to not restart RetroArch when launching content with the currently loaded core
2020-07-07 11:45:18 +02:00
twinaphex 2401f116ee Revert "Add 7:3 aspect ratio"
This reverts commit 40a11e9407.
2020-07-07 11:44:57 +02:00
twinaphex 7895722f03 Revert "Refactor CHECK_INPUT_DRIVER_BLOCK_HOTKEY"
This reverts commit b9cb839abf.
2020-07-06 10:15:59 +02:00
twinaphex b9cb839abf Refactor CHECK_INPUT_DRIVER_BLOCK_HOTKEY 2020-07-06 09:28:08 +02:00
twinaphex 20ed3be455 Minor cleanup 2020-07-05 10:28:26 +02:00
twinaphex f08ce88179 Turn this static 2020-07-05 10:27:07 +02:00
twinaphex 40a11e9407 Add 7:3 aspect ratio 2020-07-05 09:23:32 +02:00
jdgleaver e87b8311c8 (Static Platforms) Add option to not restart RetroArch when launching content with the currently loaded core 2020-07-03 17:12:23 +01:00
twinaphex 02ed18a93d Fix issues to do with HAVE_REWIND 2020-07-02 17:13:01 +02:00
twinaphex a3c687f0a6 Add HAVE_WINRAWINPUT 2020-07-02 06:43:36 +02:00
twinaphex 47e22d69bf Add HAVE_VIDEO_FILTER 2020-07-02 06:28:14 +02:00
twinaphex 3ee788def2 Add HAVE_DSP_FILTER 2020-07-02 02:13:04 +02:00
twinaphex 87b9c2a367 Add HAVE_REWIND switch 2020-07-01 21:04:05 +02:00
twinaphex 7862166ed2 Add back HAVE_SCREENSHOTS define from SSNES days 2020-07-01 17:47:13 +02:00
twinaphex da29ab063e Cleanups 2020-07-01 16:57:34 +02:00
twinaphex 14e20cea51 Cleanups 2020-07-01 15:29:25 +02:00
twinaphex 1e6b8385fd Fix two potential memory leaks 2020-07-01 00:09:54 +02:00
Hugo Hromic 175666de9b (Keyboard Input) Do not try to speak if accessibility is disabled 2020-06-30 21:25:56 +01:00
twinaphex 0bdbe1c926 Add more HAVE_PATCH ifdefs 2020-06-30 20:09:53 +02:00
twinaphex 223d76680a Add HAVE_CHEATS ifdef 2020-06-30 19:35:55 +02:00
Autechre 9fe6fb521f
Merge pull request #10948 from jdgleaver/progress-message-widget
Add 'progress message' widget (for 'RETRO_MESSAGE_TYPE_PROGRESS' core messages)
2020-06-30 19:09:35 +02:00
twinaphex 573765c7ca Fix warning when building without runahead 2020-06-30 18:20:06 +02:00
jdgleaver c48c26aff6 Add 'progress message' widget (for 'RETRO_MESSAGE_TYPE_PROGRESS' core messages) 2020-06-30 17:15:36 +01:00
twinaphex 2c62a10d6c - Fix codepaths for compiling without HAVE_RWAV
- Add back HAVE_BSV_MOVIE
2020-06-30 18:08:49 +02:00
Connor McLaughlin 07c6c57ec2 Fix core-initiated D3D9/D3D11 driver switches
Currently, RetroArch only does this for GL and Vulkan hardware render
contexts. Requesting a D3D11 context would result in the frontend
creating a GL context instead (or whatever was set in frontend config),
and then eventually crashing when it tried to render the UI.
2020-06-30 18:22:01 +10:00
twinaphex 5479196a79 Get rid of setting_get_type 2020-06-30 05:21:47 +02:00
twinaphex d46706487c prevent two more static code analysis warnings 2020-06-29 22:37:59 +02:00
twinaphex d5de55b674 Silence more static code analysis warnings 2020-06-29 21:45:51 +02:00
twinaphex 1a2adc193e Prevent more static code analysis warnings 2020-06-29 21:38:02 +02:00
twinaphex 3239576ba1 Prevent more static code analysis warnings 2020-06-29 21:01:30 +02:00
twinaphex bc61ceb338 (retroarch.c) Prevent dereference of NULL pointer 2020-06-29 19:54:27 +02:00
twinaphex 9b3cc339a7 Buildfix 2020-06-29 19:44:17 +02:00
twinaphex 8356fc90b6 Change this back 2020-06-29 18:50:42 +02:00
twinaphex 9892af701b Reduce size 2020-06-29 18:43:57 +02:00
twinaphex b10c7f5101 current_library_name/version/extensions don't need to be so big 2020-06-29 18:30:28 +02:00
twinaphex 03b232552e (MSVC) Buildfix 2020-06-29 13:53:40 +02:00
twinaphex d8824af4ac pass p_rarch around more 2020-06-29 07:06:07 +02:00
twinaphex 0aca9386c4 menu_list_new - turn calloc into malloc 2020-06-29 04:36:23 +02:00
parport0 8b4e30073a (wifi drivers) Move driver info to userdata 2020-06-28 23:08:58 +03:00
parport0 f668ed063e (bluetooth drivers) Move driver info to userdata, clean up API 2020-06-28 23:08:58 +03:00
Autechre b57e6e76c2
Revert "Bluetooth fixes" 2020-06-28 19:40:37 +02:00
Autechre 594e93fc64
Merge pull request #10935 from parport0/master
Bluetooth fixes
2020-06-28 19:31:02 +02:00
twinaphex 16ed4ce2d6 Get rid of more callocs 2020-06-28 17:07:45 +02:00
twinaphex dddad35730 Get rid of more callocs 2020-06-28 16:49:13 +02:00
twinaphex 03eb5d8bf0 Use malloc for menu_file_list_cbs_t 2020-06-28 16:42:02 +02:00
twinaphex 695d1892b2 Cleanups 2020-06-28 16:28:32 +02:00
parport0 9e3dd965eb (bluetooth) Move driver info to userdata, clean up API 2020-06-28 15:58:01 +03:00
twinaphex 722f13165b (HID) Fill in null HID driver again - might potentially fix older
iOS versions
2020-06-28 05:03:29 +02:00
twinaphex 37363e00c0 Start passing around p_rarch more 2020-06-27 20:54:52 +02:00
twinaphex 497dc7a38a (menu) move headers around - no more menu/widgets 2020-06-27 19:33:49 +02:00
twinaphex 8f2dec4196 rarch_timer_ functions can now be made static 2020-06-27 19:17:45 +02:00
twinaphex 01e2cc2465 Integrate menu_dialog.c into retroarch.c 2020-06-27 19:08:02 +02:00
Twinaphex 04fb139bcb Cleanup unused variables 2020-06-27 18:17:10 +02:00
Autechre 10ddb274bc
Merge pull request #10866 from parport0/master
Add a bluetooth driver
2020-06-27 16:46:11 +02:00
twinaphex f16f3d2968 Add 'Ignore null drivers' setting 2020-06-27 03:00:28 +02:00
twinaphex e0c442c99a input_list_element_constructor - turn it into malloc 2020-06-27 02:02:01 +02:00
twinaphex 0946604627 (Qt) Only call log_msg when the Qt companion UI window is active 2020-06-26 21:45:09 +02:00
Autechre 5f607f5809
Merge pull request #10922 from jdgleaver/playlist-config
Refactor playlist struct configuration
2020-06-26 20:35:39 +02:00
twinaphex 1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
jdgleaver 0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex de36ff20fb Create string_ends_with_size 2020-06-25 14:38:06 +02:00
twinaphex aa48eeb98e Turn path_default_slash uppercase, and do some optimizations 2020-06-25 13:36:01 +02:00
twinaphex 601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
twinaphex b846599cc7 Cleanups/simplifications 2020-06-24 19:54:35 +02:00
twinaphex 7fc50e7ab6 Cleanups 2020-06-24 13:46:11 +02:00
twinaphex 84b53856a4 core_option_manager - don't go through config_get_string 2020-06-24 12:23:40 +02:00
parport0 a24d2b50a5 bluetooth: split into labels and sublabels 2020-06-24 12:53:27 +03:00
parport0 4f8ccb8642 Add bluez bluetooth driver 2020-06-24 12:53:27 +03:00
parport0 23c08ad9b0 Add bluetoothctl bluetooth driver 2020-06-24 12:53:27 +03:00
twinaphex 6b854f8766 Update 2020-06-24 10:47:30 +02:00
twinaphex f6acc190f6 Cleanups 2020-06-24 10:39:16 +02:00
twinaphex 58f67aacc7 Cleanups 2020-06-24 10:22:45 +02:00
twinaphex 634f18ad43 Turn more functions static 2020-06-24 10:14:03 +02:00
twinaphex d0e426011d Move video_driver_load/save_settings functions to configuration.c 2020-06-23 22:27:40 +02:00
twinaphex 388342264c Cleanup 2020-06-23 22:01:33 +02:00
twinaphex ffff7e782a Cleanup 2020-06-23 21:56:41 +02:00
twinaphex d31f7a915b Simplify else conditional 2020-06-23 21:35:38 +02:00
twinaphex c0bacea187 Cut down on some pointer grabbing 2020-06-23 19:06:53 +02:00
twinaphex 9c519b73aa Split up input_joypad_analog into two functions 2020-06-23 18:52:48 +02:00
twinaphex 689ac432d6 MOve input_joypad_analog call to inside retroarch.c instead of the
input driver itself, and make function static
2020-06-23 18:31:40 +02:00
twinaphex 2a0c490913 Cleanup 2020-06-23 18:08:53 +02:00
twinaphex a48af59c92 Cleanups 2020-06-23 18:05:07 +02:00
twinaphex c9f634e85d Cleanups 2020-06-23 17:51:45 +02:00
twinaphex 0864b3cd38 Cleanups - don't need input_driver_get_joypad_driver anymore 2020-06-23 17:42:32 +02:00
twinaphex 0503467f2c Turn functions static 2020-06-23 17:32:27 +02:00
twinaphex edc5d1a1e5 Merge menu_input_bind_dialog into retroarch.c - global state is now
part of rarch_state
2020-06-23 17:26:33 +02:00
twinaphex b5c14af74a Cleanups 2020-06-23 11:46:40 +02:00
twinaphex a6f6fb88f0 Cleanups 2020-06-23 09:28:41 +02:00
twinaphex 93eb2abdfe Cleanup 2020-06-22 20:49:55 +02:00
jdgleaver 1651db288d Do not flush the message queue when receiving core-generated notification messages 2020-06-21 12:48:26 +01:00
jdgleaver 42537a67e1 Fix display of core-generated messages when load content fails 2020-06-19 12:22:37 +01:00
jdgleaver 0c18da5d49 (Disk Control Interface) Enable 'Load New Disc' while disk tray is open 2020-06-17 11:43:54 +01:00
Jamiras 950823e90b disable hardcore mode when playing bsv file 2020-06-13 08:05:23 -06:00
twinaphex b74b8b6a6c Move launched_from_cli to global state 2020-06-13 08:19:49 +02:00
twinaphex b46a316df9 (core info) Pass pointer around to some functions 2020-06-13 07:29:26 +02:00
twinaphex 34af28461f Move core info global state to retroarch.c 2020-06-13 07:21:00 +02:00
Twinaphex 6e979931a1 Remove unused variable 2020-06-13 06:49:59 +02:00
twinaphex 00df029557 Get rid of some extraneous 'valid' checks in in input_keys_pressed 2020-06-12 18:45:35 +02:00
twinaphex 45f90ad89a (menu_dialog) Cleanups
Make menu_hash_help no longer dependent on the menu code
2020-06-12 08:06:30 +02:00
twinaphex eb78b608d3 Cut down on code duplication 2020-06-12 00:50:08 +02:00
Autechre dc10dc4702
Merge pull request #10837 from parport0/master
Add options for moving the on-screen overlay
2020-06-11 18:03:02 +02:00
jdgleaver fa069c28f3 Add sublabels to all hotkey bind entries 2020-06-11 15:38:25 +01:00
twinaphex 1b5796b321 Fix --disable-menu 2020-06-11 16:30:45 +02:00
jdgleaver 42ad070a1d Add 'core management' menu 2020-06-11 14:12:20 +01:00
parport0 a4590acde9 Add options for moving the on-screen overlay 2020-06-11 15:39:23 +03:00
twinaphex a68b942d1d Refactor AI Service code 2020-06-11 03:27:01 +02:00
twinaphex 5aa26e7eee Optimize check_menu_driver_compatibility 2020-06-10 23:40:29 +02:00
twinaphex 7c3a1a8bf0 Cleanups 2020-06-10 23:25:03 +02:00
twinaphex 2b5496a417 Move input_osk.c to retroarch.c 2020-06-10 18:21:53 +02:00
twinaphex 8daa90da23 move osk_ptr global state to rarch_state 2020-06-10 18:07:20 +02:00
twinaphex bc24092374 (VIDEOCRT SWITCH) move global state to rarch_state 2020-06-10 17:42:08 +02:00
twinaphex e04bce7dd0 Move gfx_thumbnail global state to rarch_state 2020-06-10 17:22:02 +02:00
twinaphex b2f5262a3b crt_first_run and crt_video_restore were both useless 2020-06-10 15:50:29 +02:00
twinaphex 1e2b649a21 Cleanups 2020-06-10 05:54:00 +02:00
twinaphex fa6ca2e39c Revert "Create input_joypad_analog_button"
This reverts commit 9e7ca7cbbe.
2020-06-10 05:50:51 +02:00
twinaphex 11cba2e805 Revert "Cleanups and documentation"
This reverts commit ec2a1e79a0.
2020-06-10 05:50:42 +02:00
twinaphex 317648ecd4 Revert "Cleanup"
This reverts commit 2a6317c52f.
2020-06-10 05:50:26 +02:00
twinaphex 2a6317c52f Cleanup 2020-06-10 05:33:35 +02:00
twinaphex ec2a1e79a0 Cleanups and documentation 2020-06-10 05:18:59 +02:00
hizzlekizzle db63e0a60a
add hold-select to hardcoded menu gamepad combos (#10827)
* add hold-select to hardcoded menu gamepad combos
2020-06-09 21:54:28 -05:00