Commit Graph

3288 Commits

Author SHA1 Message Date
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
twinaphex 9e7ca7cbbe Create input_joypad_analog_button 2020-06-10 04:17:08 +02:00
twinaphex 05e3a1d7e5 Get rid of unnecessary get_time_usec call in menu_input_post_iterate -
just pass current_time value around
2020-06-10 00:53:54 +02:00
twinaphex ea1ca4edcc Get rid of analog D-pad mapping macros 2020-06-10 00:41:13 +02:00
twinaphex 8eb70071f4 Cleanups 2020-06-09 22:21:02 +02:00
twinaphex 4bc39ee1cf Cleanups 2020-06-09 22:13:28 +02:00
twinaphex 8a715fab1c Cleanups 2020-06-09 20:48:54 +02:00
twinaphex 20f2654884 Remove input_menu_keys_pressed - use input_keys_pressed instead
for menu as well
2020-06-09 20:44:20 +02:00
twinaphex c4534509f7 Cleanups - make two functions nearly identical 2020-06-09 20:36:58 +02:00
twinaphex 01547ef768 Make function input_keys_pressed more like input_menu_keys_pressed 2020-06-09 20:32:48 +02:00
twinaphex 42478983a3 Cleanups/dehardcode port 2020-06-09 20:16:47 +02:00
twinaphex c09a3b75ab Further cleanups - aim is to make both of these functions one and the
same
2020-06-09 20:00:24 +02:00
twinaphex 7b879c2a2b input_keys_pressed - pass port parameter to functions 2020-06-09 19:38:15 +02:00
twinaphex 23fb0f3d4d Cleanups 2020-06-09 19:21:25 +02:00
twinaphex b19e83aa6d input_menu_keys_pressed/keys_pressed optimizations - this time
without breaking hotkey enable
2020-06-09 19:15:11 +02:00
twinaphex bb4aa82cb3 Revert "input_keys_pressed/menu_input_keys_pressed - optimizations"
This reverts commit be5985b8e6.
2020-06-09 17:18:31 +02:00
twinaphex be5985b8e6 input_keys_pressed/menu_input_keys_pressed - optimizations 2020-06-09 16:42:17 +02:00
twinaphex 11a4db3120 Revert "Reduce button state from 256bit to 128bit - all the bind IDs"
This reverts commit 47456cf94b.
2020-06-09 16:11:26 +02:00
twinaphex 1597a6893d Get rid of 'All Users Control Menu' setting - was not properly
implemented - input system is in for a big overhaul in the near
future so this could be addressed in a better way then
2020-06-09 13:55:03 +02:00
twinaphex 5a690b7ac8 (display widgets) Cleanups 2020-06-09 00:13:34 +02:00
twinaphex 52050739a1 Cleanups 2020-06-08 23:13:29 +02:00
twinaphex b183abbb0f More string_is_equal optimizations; localize more strings 2020-06-08 22:46:56 +02:00
twinaphex 2ae0583ac5 Optimize action_iterate_type 2020-06-08 22:07:04 +02:00
twinaphex 47456cf94b Reduce button state from 256bit to 128bit - all the bind IDs
combined right now are still under 80, so 256 bits is too
overboard for now
2020-06-08 20:13:00 +02:00
twinaphex f64da5cb1e Update more log messages 2020-06-08 19:11:43 +02:00
twinaphex b97462c8a4 Builtin cores like ffmpeg and imageviewer would previously try
to erroneously load a dynamic core named 'builtin' - this would
fail and would just be a wasteful operation - this now skips
dylib loading in libretro_get_system_info for builtin cores
2020-06-08 18:40:45 +02:00
twinaphex 781835d53c More logging messages updates 2020-06-08 17:49:55 +02:00
twinaphex fc491e9ea4 Add more environ logs 2020-06-08 17:32:36 +02:00
twinaphex 9ff44cc682 Namespace some logs 2020-06-08 17:13:23 +02:00
twinaphex 38f9a1b1f0 (OSK) move some global state to rarch_state 2020-06-08 16:31:10 +02:00
twinaphex fa5d8b6f86 Fix builds that don't have HAVE_GX_WIDGETS defined 2020-06-08 14:22:42 +02:00
twinaphex 2660182d52 Get rid of gfx_widgets_ready call inside
gfx_widgets_frame
2020-06-08 05:45:15 +02:00
twinaphex 5c2a2ca485 Move widgets state over to retroarch global state 2020-06-08 05:09:42 +02:00
twinaphex 57c3b1b041 Move widgets_persisting to retroarch.c 2020-06-08 04:36:40 +02:00
twinaphex 73b5bf438b Move widgets_active to retroarch.c 2020-06-08 04:32:54 +02:00
twinaphex c1aeafbe3d Fix --disable-menu 2020-06-08 03:24:47 +02:00
twinaphex 876419294d (gfx widgets) Pass more state around 2020-06-08 02:54:01 +02:00
Twinaphex 03c1283fcb Remove unused variable 2020-06-07 23:04:20 +02:00
twinaphex 5e2649a6f5 Move gfx_display global state to rarch state 2020-06-07 22:58:06 +02:00
twinaphex 2baa3be2da Cleanups 2020-06-07 21:18:07 +02:00
twinaphex d15942f6c8 Cleanups 2020-06-07 20:55:27 +02:00
twinaphex 81b2cc0d14 Get rid of menu_entry_is_password 2020-06-07 20:27:17 +02:00
twinaphex 05a344d831 Cleanups 2020-06-07 20:06:56 +02:00
twinaphex 058adf247c Further optimizations to menu_entry_get - get rid of some unnecessary
small wrapper functions
2020-06-07 20:02:12 +02:00
twinaphex f2ae16e125 Pass global pointer state around 2020-06-07 05:40:44 +02:00
twinaphex 4a9f136aa9 Make menu_shader.c no longer dependent on menu driver state 2020-06-07 05:06:20 +02:00
twinaphex 0d12472e74 Cleanups 2020-06-07 04:32:36 +02:00
twinaphex 8175f3c98e Cleanup menu_list_flush_stack and menu_list_pop_stack 2020-06-07 04:19:10 +02:00
twinaphex b2124a1f89 Further menu_entry_get optimizations 2020-06-07 03:27:30 +02:00
Autechre 50e522c9ce
Merge pull request #10801 from snackycakes/hotkey_block_delay
Added a hotkey delay option to fix issue #9080
2020-06-07 01:25:28 +02:00
twinaphex 361b252de2 Fix C89_BUILD and --disable-menu 2020-06-06 23:32:09 +02:00
twinaphex 7413d05705 Cleanups 2020-06-06 22:42:43 +02:00
twinaphex 4bbc226335 Move netplay_frontend.c to retroarch.c - move global state to
retroarch global state
2020-06-06 21:57:22 +02:00
Robert Hammond bd17e13ef7 Added a hotkey delay option to allow hotkey input to work properly when it is assigned to another action. Original pull request from 9080 by paradadf was taken and modified to be configuration based. 2020-06-06 15:39:51 -04:00
twinaphex 543e4bca16 Merge Discord code into retroarch.c 2020-06-06 20:50:25 +02:00
twinaphex 9219eb5aaf Merge input_mapper.c into retroarch.c 2020-06-06 20:27:38 +02:00
twinaphex cd42d02020 Cleanups 2020-06-06 19:36:46 +02:00
twinaphex d98a0e2dce Refactor away menu_display_libretro_running 2020-06-06 19:29:54 +02:00
twinaphex 255cd3a937 MENU_ENTRIES_CTL_LIST_GET no longer used by menu drivers 2020-06-06 19:09:03 +02:00
twinaphex 4f568fa68f Turn macro names into uppercase 2020-06-06 19:02:42 +02:00
twinaphex 82c009d405 Pass state around to menu_shader_manager_free 2020-06-06 18:44:53 +02:00
twinaphex 2fb53ba687 Cleanups 2020-06-06 18:02:07 +02:00
twinaphex 7dbe75e89b CXX_BUILD buildfix 2020-06-06 17:41:51 +02:00
twinaphex 351fe36a6d Cleanups 2020-06-06 15:37:28 +02:00
twinaphex cb78470471 Cleanups 2020-06-06 15:15:51 +02:00
twinaphex 78b030d8b8 Cut down on code duplication 2020-06-06 15:06:45 +02:00
twinaphex c1b3ef6661 Cleanups 2020-06-06 14:54:13 +02:00
twinaphex 742c49cee7 Revert "Cleanups"
This reverts commit 802d501c39.
2020-06-06 14:48:42 +02:00
twinaphex 7063f3df13 Cleanups 2020-06-06 14:17:58 +02:00
twinaphex 802d501c39 Cleanups 2020-06-06 14:01:09 +02:00
twinaphex b8374826ac Merge menu_cbs into retroarch.c 2020-06-06 03:58:03 +02:00
twinaphex 412d158d2e Start adding mechanism to not list 'null' drivers in Driver screen 2020-06-06 02:48:49 +02:00
twinaphex 73a5ad91a1 Get rid of find_handle functions 2020-06-06 01:51:53 +02:00
twinaphex 1d63f67877 Move more to retroarch global state 2020-06-06 01:28:52 +02:00
twinaphex f0e80e365a Cleanups 2020-06-05 23:59:06 +02:00
twinaphex d3887545ee Cleanups 2020-06-05 23:55:41 +02:00
twinaphex ab53d57079 Cleanups 2020-06-05 23:25:16 +02:00
twinaphex 6de048371f Cleanups 2020-06-05 22:31:30 +02:00
twinaphex 7501b010f4 Cleanups 2020-06-05 22:00:10 +02:00
twinaphex c3943836dd (Menu) Cleanups 2020-06-05 20:58:09 +02:00
twinaphex e587f1a60e (Menu) Cleanups 2020-06-05 20:32:13 +02:00
twinaphex e732edbd9a Cleanups 2020-06-05 20:21:02 +02:00
twinaphex f8fc3fbbf8 Move static global stuff into rarch global state 2020-06-05 20:11:13 +02:00
twinaphex 5b3253c7aa Move menu_driver_state into p_rarch state 2020-06-05 19:42:34 +02:00
twinaphex 09f85d130d Merge menu_driver.c into retroarch.c - yes, it's even bigger I know,
this is so that we can consolidate global state and then start splitting
things up across several files
2020-06-05 19:29:14 +02:00
twinaphex bcf34b8f3b Start passing around retroarch pointer 2020-06-05 19:22:33 +02:00
twinaphex b42c1a2eda Silence some Emscripten warnings 2020-06-04 23:44:54 +02:00
Autechre b88377d277
Merge pull request #10787 from guoyunhe/new-languages
Add Persian, Hebrew and Asturian language options
2020-06-04 16:31:12 +02:00
Guo Yunhe 0701b99039 Add Persian, Hebrew and Asturian language options 2020-06-04 14:54:28 +03:00
jdgleaver 0a33e562f4 Add option to backup/restore installed cores 2020-06-04 12:20:58 +01:00
twinaphex a3cce404b6 Turn this into a static global variable 2020-06-04 12:23:59 +02:00
twinaphex 6083450d4e Ensure save states are correctly flushed to disk when quitting RetroArch (fixes broken save states when exiting RetroArch - without first closing content - with 'Auto Save State' enabled) 2020-06-01 17:39:52 +02:00
twinaphex 5644bd43b1 Pass p_rarch pointer around 2020-06-01 12:15:18 +02:00
twinaphex 4163a84d62 Pass p_rarch pointer around 2020-06-01 12:00:30 +02:00
twinaphex 072a93d00c Cleanups 2020-06-01 03:10:29 +02:00
twinaphex b8faf43040 Buildfix 2020-06-01 03:04:45 +02:00
twinaphex 433547caa0 Cleanups 2020-06-01 03:02:07 +02:00
twinaphex a9495b8846 Buildfix 2020-06-01 03:01:53 +02:00
twinaphex 293e45f551 Cleanups 2020-05-31 23:38:18 +02:00
twinaphex 0427f08511 Cleanup 2020-05-31 23:06:03 +02:00
twinaphex 76ee0ab97e Cleanups 2020-05-31 22:24:06 +02:00
twinaphex 24d4547605 Cleanups 2020-05-31 22:16:12 +02:00
twinaphex fb7589e253 Move g_extern and retro_ctx and current_core into RetroArch
global state
2020-05-31 21:59:35 +02:00
twinaphex 99a971b105 OSX Buildfixes 2020-05-31 19:55:01 +02:00
twinaphex c2be385fe4 Move more globals to state struct 2020-05-31 19:37:26 +02:00
twinaphex 1392afea46 Move more to global state 2020-05-31 19:31:32 +02:00
twinaphex dd8ba82513 Move more variables to global state 2020-05-31 16:41:03 +02:00
twinaphex c8c54b61ef Move static global variables to struct 2020-05-31 11:07:38 +02:00
twinaphex 2016218fc7 Cleanups 2020-05-31 10:27:29 +02:00
twinaphex 994dfa714b (retroarch.c) Reorganize global variables 2020-05-31 09:37:29 +02:00
twinaphex b695ef4591 Move more variables to RetroArch global state 2020-05-31 07:12:33 +02:00
twinaphex 78d1efac12 Move more static variables to RetroArch global state 2020-05-31 05:57:26 +02:00
twinaphex fd84dc5e24 Only log messages for input descriptors/set_controller_info and other
libretro callbacks if core logging level is set to DEBUG
2020-05-31 05:41:07 +02:00
twinaphex 0135a33a7c Move more variables to RetroArch global struct 2020-05-30 17:16:45 +02:00
twinaphex 8ae3fe1e80 Cleanups 2020-05-30 14:45:12 +02:00
twinaphex 3b9f131930 Move more RetroArch global state to struct 2020-05-30 14:26:10 +02:00
twinaphex f2ee7c8f0b Localize message 2020-05-29 11:57:03 +02:00
twinaphex 22f2cf1e56 Get rid of dir_get and other useless wrapper functions 2020-05-29 05:36:48 +02:00
twinaphex 3af84d73e9 Move menu_content_environment_get to retroarch.c 2020-05-29 05:28:29 +02:00
twinaphex ea0d3b5fd8 Remove obsolete function rarch_timer_begin_us 2020-05-29 05:21:37 +02:00
twinaphex 6b781d5a9b Move global performance counter state into retroarch.c 2020-05-29 05:12:09 +02:00
twinaphex 009d979b6c Move more variables to retroarch global state 2020-05-29 04:59:29 +02:00
twinaphex aa2e9b9a00 Buildfixes 2020-05-28 23:15:28 +02:00
twinaphex 02bc3ee1e8 Buildfixes/cleanups 2020-05-26 21:34:05 +02:00
Autechre a62cac03e6
Merge pull request #10679 from jdgleaver/retro-message-ext
Add API extension to provide cores with finer grained control over environment callback messages
2020-05-26 17:39:49 +02:00
Twinaphex 63f5723b27 Silence warnings 2020-05-26 17:38:52 +02:00
jdgleaver a1210d63cc Extended core message interface - add API support for 'progress' messages 2020-05-26 11:42:46 +01:00
jdgleaver 23916f88c7 Extended core message interface - add concept of message 'type' 2020-05-26 10:03:25 +01:00
jdgleaver fc8b76708a Add API extension to provide cores with finer grained control over environment callback messages 2020-05-26 10:03:25 +01:00
Twinaphex e179a8e568 Cleanups 2020-05-26 08:53:29 +02:00
twinaphex fec69828a9 Cleanup 2020-05-26 08:49:59 +02:00
twinaphex a1ed747a7f Cleanups 2020-05-26 08:42:10 +02:00
twinaphex 2386ec8f0c Move more variables to rarch global struct 2020-05-26 08:34:43 +02:00
twinaphex 7cfbe73288 Move more variables to rarch global state struct 2020-05-26 08:15:35 +02:00
twinaphex c637686a76 Move more variables to retroarch global state 2020-05-26 03:18:34 +02:00
twinaphex fda235518a Cleanup command_event_disable_overrides 2020-05-26 02:11:59 +02:00
twinaphex 1c45a070d1 Avoid namespace collision 2020-05-26 02:03:34 +02:00
twinaphex 922d5a00e1 Cleanups and add FIXME/TODO note 2020-05-26 02:02:20 +02:00
twinaphex 24ca499570 Cleanups 2020-05-26 01:14:26 +02:00
twinaphex b70451d550 Start creating retroarch main state global struct 2020-05-26 00:01:59 +02:00
twinaphex 602d3d285c Revert "(glcore) switch to glcore video driver when requested"
This reverts commit 7a3ddcd77d.
2020-05-25 21:31:23 +02:00
Autechre 3db672a60d
Revert "Revert "Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior""" 2020-05-25 21:26:11 +02:00
Autechre 950bf29c27
Revert "Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior"" 2020-05-24 23:42:12 +02:00
Autechre d1f4279b8f
Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior" 2020-05-24 23:24:35 +02:00
twinaphex fa37234a49 Cut down on strlens 2020-05-24 21:23:52 +02:00
twinaphex 53beaee6e6 Cleanup 2020-05-24 18:28:27 +02:00
twinaphex 5b562c4c24 Style nits/cleanups 2020-05-24 18:21:30 +02:00
twinaphex 1a2fdffd5b Move variables to top 2020-05-24 18:02:47 +02:00
twinaphex 6591b53547 Cleanup 2020-05-23 04:23:03 +02:00
twinaphex 7d6c0417eb Silence warning 2020-05-23 04:17:12 +02:00
twinaphex 7cbb79277d Cleanup core_load_game function 2020-05-22 19:43:10 +02:00
barbudreadmon 2f57d3cbea
(video) fix "Allow Cores to Switch the Video Driver OFF" behavior
fix #10677 : video driver must never be switched when this setting is set to OFF, it is the job of the core to request the right context
2020-05-22 15:38:47 +02:00
twinaphex 6dc758a080 Move cheevos-new to cheevos/ 2020-05-21 23:23:01 +02:00
Twinaphex ede03659ca Update 2020-05-21 22:31:51 +02:00
Autechre 52e8c102fc
Merge pull request #10671 from johanbcn/improved-shader-preset-dirs
Improved shader preset dirs
2020-05-21 17:17:03 +02:00
Joan Coll Cerdán 04016ed4a6 Improve shader initialization code.
Patch by @jdgleaver.
2020-05-21 13:29:09 +02:00
twinaphex a4f143a71a Buildfix 2020-05-21 00:46:49 +02:00
twinaphex 2037de5b33 Silence more warnings 2020-05-20 23:40:26 +02:00
jdgleaver 41cee583e3 NUL terminate 'fps_text' string 2020-05-20 17:51:20 +01:00
jdgleaver c346e1f816 Various file path handling optimisations 2020-05-20 17:05:22 +01:00
Joan Coll Cerdán e43111d9cb Support fallback dirs to cycle user shader presets
When a user shader preset was saved, if the Video Shader directory
wasn't writable, it would fall back to the Menu Config directory, and
failing that, it would fall back to the directory where retroarch.cfg
is stored.

This change allows the shader cycling feature to use those directories
if no shader presets are found on the Video Shader directory.
2020-05-20 17:47:23 +02:00
Joan Coll Cerdán 2768655267 Cleaner structure for auto shader presets.
Additional changes:

* Restore the previous storage path for user-presets until a better
  solution is agreed upon.

* Stop using the Video Shaders directory as fallback directory to
  store autopresets. Will be used only when autoloading as last resort to
  ensure compatibility with old setups.
2020-05-20 17:47:23 +02:00
twinaphex aeb3f692d5 Get rid of superfluous get_ai_service_auto/set_ai_service_auto get/set
wrapper functions
2020-05-20 16:35:53 +02:00
twinaphex af01b97a11 Add TODO/FIXME 2020-05-20 16:32:20 +02:00
twinaphex 03ea12d334 Move discord files to network/ 2020-05-20 15:27:27 +02:00
twinaphex a8fdfd77ce Make gamma correction 'int' type across the board 2020-05-20 15:04:16 +02:00
twinaphex cb5de27631 Cleanup 2020-05-20 14:48:22 +02:00
twinaphex d9ccd3a737 Turn core_poll_type_override into enum variable 2020-05-20 14:23:25 +02:00
twinaphex d1c130d60a Global variable cleanups 2020-05-20 06:29:58 +02:00
twinaphex 692f37b91a Rearrange global variables 2020-05-20 06:04:51 +02:00
twinaphex 13279eb0d4 Move defines to top 2020-05-20 04:54:14 +02:00
twinaphex 9e5f00ba27 Turn retroarch_fail static 2020-05-20 04:43:35 +02:00
twinaphex 1e21bf5074 Move defines to top 2020-05-20 04:39:27 +02:00
twinaphex 51c1064609 retroarch_validate_per_core_options - cut down on code duplication 2020-05-20 04:18:57 +02:00
twinaphex a188826a10 Cleanups 2020-05-20 04:02:43 +02:00
twinaphex 24dd7409bc Move more global variables and forward declarations up top 2020-05-20 03:58:36 +02:00
twinaphex cc2d70f044 (retroarch.c) Turn some AI functions static 2020-05-20 03:47:14 +02:00
twinaphex 7b5b14b0a7 More reorganization of globals, enums, defines 2020-05-20 03:38:16 +02:00
twinaphex 969475254f (retroarch.c) Reorganize globals, forward declarations, and defines 2020-05-20 03:30:04 +02:00
twinaphex 5852251d56 Fix --disable-menu 2020-05-20 02:25:33 +02:00
twinaphex 182ad31c63 (retroarch.c) Relocate structs and enums 2020-05-20 02:19:20 +02:00
Autechre 7eaa771d57
Merge pull request #10663 from jdgleaver/overlay-leak-fix
Fix memory leak when loading overlays
2020-05-19 18:05:23 +02:00
twinaphex 521f4bfefc Remove more unneeded video_frame_info variables 2020-05-19 17:52:54 +02:00
jdgleaver 6800fadafe Fix memory leak when loading overlays 2020-05-19 16:37:20 +01:00
twinaphex 26c6c34817 video_frame_info - remove more unused settings 2020-05-19 16:51:05 +02:00
twinaphex 3f98cbc52d Get rid of some unneeded variables in video_frame_info 2020-05-19 16:42:56 +02:00
Jamiras 6946f878ef disable hardcore when cheats are enabled 2020-05-16 08:01:24 -06:00
Joan Coll Cerdán fe42f6bb73 Changed the order of shader preset directories.
The Menu Config directory now takes precedence over the Video Shader
directory for the storage of shader preset overrides. With this, all
user overrides are grouped by default under the same path.
2020-05-13 19:54:08 +02:00
Joan Coll Cerdán f1f248dd11 Add fallback directories to shader presets.
Improves the management of shader presets by using the Menu Config directory
and the directory of the configuration file as alternate fallback directories
whenever the Video Shader directory is not writable.
2020-05-13 19:54:08 +02:00
Vladimir Serbinenko 7b351da006 Fix crash with null audio driver 2020-05-12 03:09:38 +02:00
twinaphex 6a4a522244 Cut down on some code duplication and turn
retroarch_validate_game_options static
2020-05-11 17:19:55 +02:00
twinaphex 81a623c2b6 Style nits 2020-05-11 16:49:31 +02:00
Twinaphex 2f3ef75bf6 Remove some unused variables and some style nits 2020-05-10 01:10:45 +02:00
twinaphex 3ad4b057f9 Go back to 1.8.4 netcode 2020-05-10 01:02:47 +02:00
barbudreadmon 7a3ddcd77d
(glcore) switch to glcore video driver when requested
fix #10486
2020-05-09 17:15:45 +02:00
jdgleaver 702bc18128 (3DS) Disable video filter if upscaled resolution exceeds hardware limits 2020-05-04 11:52:53 +01:00
jdgleaver 3f2ba2e791 Add option to mute audio when fast-forwarding 2020-05-01 12:19:31 +01:00
Karl Forshaw 5ed60cde04 Advise against using -s and -S variables on the command line.
Signed-off-by: Karl Forshaw <karlforshaw@gmail.com>
2020-04-29 13:39:12 +01:00
Autechre 39aae2872d
Merge pull request #10525 from libretro/set_gamepad_bitwise_fix
Added small fix to set_gamepad_input_override bit logic.
2020-04-27 20:28:54 +02:00
Barry Rowe d87fa1799e Added small fix to set_gamepad_input_override bit logic. 2020-04-27 10:16:11 -07:00
jdgleaver 9eb8472805 Only write config files to disk when parameters change 2020-04-27 17:06:35 +01:00
maksun b92ac7d439
[Retroarch] Tiny issue when displaying version
Just two lines to fix #10445
2020-04-23 19:48:51 +02:00
jdgleaver fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
jdgleaver 6ef5fa1aa5 More build fixes 2020-04-17 17:08:12 +01:00
jdgleaver ddc860d4b0 Build fixes 2020-04-17 16:42:37 +01:00
twinaphex 352519c91e Another builfdix 2020-04-17 16:32:10 +02:00
twinaphex f3b82dc998 Buildfix 2020-04-17 16:29:23 +02:00
twinaphex 9f3a2db44e Merge branch 'master' of https://github.com/libretro/RetroArch 2020-04-17 16:24:39 +02:00
Autechre 018a0baed6
Merge pull request #10401 from libretro/accessibility_menu_fixes
Accessibility menu fixes
2020-04-17 03:19:17 +02:00
jdgleaver 233456df47 Add optional save state compression 2020-04-15 15:48:41 +01:00
Barry Rowe 289be872f3 Added in auto-translate support, fixes for ozone and glui accessibility, and support for nvda and SAPI narration. 2020-04-13 17:46:08 -07:00
jdgleaver 223cae66c1 (Playlist Management) Add optional per-playlist alphabetical sorting 2020-04-10 17:07:49 +01:00
twinaphex a9154373fc Merge branch 'master' of https://github.com/libretro/RetroArch 2020-04-02 02:13:12 +02:00
Vladimir Serbinenko 2fb7ba22e5 PSL1GHT port
Working:

* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video

Not working:

* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse

Not tested:

* A lot
2020-03-30 05:39:22 +02:00
twinaphex 92c472c227 Merge branch 'master' of https://github.com/libretro/RetroArch 2020-03-29 06:01:31 +02:00
twinaphex 4589fde775 Simplify video_context_driver_translate_aspect 2020-03-28 05:44:58 +01:00
twinaphex 19c68fad43 Take out cb_update_window_title and cb_get_metrics 2020-03-28 05:36:31 +01:00
valadaa48 6e4228b054 Add drm_go2_ctx for odroidgo2
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.

Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
valadaa48 53fffbd670 Add "oga" graphics driver for odroid go advance
libgo2 improvements

- Expose rga scale mode as param for future use
- Cleanup whitespace
- Add option to disable managed surfaces and allow direct posting to drm
  driver

oga graphics driver

- Uses direct framebuffers in libgo2
- Bitmap font only supported for now
- Uses built-in bicubic filtering: graphics quality better than gl + bilinear
- Support for rotation
2020-03-22 23:35:22 -04:00
natinusala 997136c029 gfx_widgets: move libretro message widget into its own file 2020-03-17 17:16:21 +01:00
natinusala 7246d0d053 gfx_widgets: move generic message to its own file 2020-03-13 17:13:56 +01:00
twinaphex 7986561598 Rename menu widgets to display widgets 2020-03-13 03:58:33 +01:00
natinusala 375621394c gfx_widgets: move volume into its own file 2020-03-12 09:31:05 +01:00
jdgleaver 086c68bca7 Enable widget persistence across drivers_init()/driver_uninit() events 2020-03-11 11:47:13 +00:00
Twinaphex 2a0833378d
Merge pull request #10239 from parport0/master
(Menu) Add Menu Scroll Acceleration option
2020-03-10 21:33:51 +01:00
jdgleaver 3b3eaa1e24 Ensure proper detection of 'threaded video' state when calling 'drivers_init()' 2020-03-10 12:17:38 +00:00
parport0 1e315bb61b Rename PSP-style scroll to Menu scroll acceleration 2020-03-10 13:10:09 +01:00
twinaphex f4c5036c3c Get rid of video_frame_info dep for fonts 2020-03-10 03:24:59 +01:00
parport0 fb5f557d91 Add PSP-style menu scroll option 2020-03-09 14:34:51 +01:00
twinaphex 7c7eeff0fb Move display_server code into retroarch.c 2020-03-08 18:48:15 +01:00
Twinaphex 681443cc45
Merge pull request #10228 from phcoder/audiocb
Return failure on set_audio_callback without threads
2020-03-07 19:58:20 +01:00
Vladimir Serbinenko 000eaf712a Return failure on set_audio_callback without threads
Current code returns success even though it's actually a failure
2020-03-07 18:53:06 +01:00
twinaphex 4598f186a8 Get rid of video_frame_info dependency 2020-03-07 00:39:06 +01:00
twinaphex 4d7b627421 Get rid of video_info dependency for set_video_mode 2020-03-06 22:58:12 +01:00
twinaphex e20151a048 Get rid of video_info struct for swap_buffers too 2020-03-06 22:29:51 +01:00
twinaphex 68664fdf1d update_title - we don't need video_info 2020-03-06 22:11:44 +01:00
twinaphex 8b43e1b4ef Can get rid of IS_SHUTDOWN 2020-03-06 20:32:22 +01:00
twinaphex 1f553ac1c4 Get rid of menu_shader_set_modified - instead, add a single
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00
twinaphex bdc999ca45 Settings cleanups 2020-03-06 03:53:10 +01:00
twinaphex 18a90d81d2 Setting needs to be re-set again 2020-03-06 02:28:37 +01:00
twinaphex 6ad38b4140 Revert "Try to avoid concurrent data access to"
This reverts commit 8fd43c0927.
2020-03-05 22:21:13 +01:00
twinaphex 8fd43c0927 Try to avoid concurrent data access to
video_driver_width/video_driver_height
2020-03-05 22:18:59 +01:00
Twinaphex 1c302f26b3 Prevent warning 2020-03-05 15:20:16 +01:00
jdgleaver 35977efe43 Prevent improper display of (old style) OSD text when widgets are enabled 2020-03-05 12:28:38 +00:00
twinaphex d592959be8 When settings struct gets modified, go through macros to set
the modified flag
2020-03-05 13:00:43 +01:00
twinaphex f87bd0c190 Settings cleanups - make sure things that modify the settings
struct go through the wrapper function so that the 'modified'
bit gets set
2020-03-05 12:22:58 +01:00
twinaphex 8bad0b6b7e Cleanup some comments 2020-03-04 23:22:51 +01:00
twinaphex a03d4485b0 Cleanup retroarch_validate_per_core_options 2020-03-04 22:41:58 +01:00
twinaphex c0e088ca07 Add TODO/FIXME 2020-03-04 22:30:17 +01:00
twinaphex bea4f8aad3 (menu_dialog.c) Cleanups 2020-03-04 22:21:18 +01:00
twinaphex 32e4aea068 Start making the other code safe that is dependent on menu driver
ident checking
2020-03-04 20:47:39 +01:00
jdgleaver 29f8189d0e Add independent widget scale override settings for fullscreen/windowed modes 2020-03-04 17:10:49 +00:00
twinaphex 09df109531 Silence warning 2020-03-03 00:53:43 +01:00
twinaphex b99501d5d7 Simplify netplay_driver_ctl 2020-03-01 18:22:58 +01:00
twinaphex 0c1568c4ab Merge netplay_frontend.c into retroarch.c -
This should be the last file we have to roll into retroarch.c
2020-03-01 18:02:55 +01:00
twinaphex 45b02df36b Put HAVE_NETWORKING ifdefs around this code 2020-03-01 17:41:46 +01:00
twinaphex 81ab6d575a Cleanups 2020-02-29 18:06:06 +01:00
twinaphex 0524d4ae49 (retroarch.c) Settings cleanups 2020-02-29 17:18:25 +01:00
twinaphex 63b7d74272 Cut down get_time_usec calls - pass current_time around instead 2020-02-29 16:52:56 +01:00
twinaphex b1fa971d35 Do check outside of rarch_perf_log 2020-02-29 08:05:49 +01:00
twinaphex 160d90f22a (performance counters) Get rid of other duplicate functions 2020-02-29 08:00:38 +01:00
twinaphex add0cedc48 * Reduce the amount of cpu_features_get_time_usec calls
* Put code behind menu ifdefs
2020-02-29 07:41:05 +01:00
twinaphex 55a1837494 menu_input_driver_toggle_on - turn function static 2020-02-27 15:34:47 +01:00
twinaphex 765f8d4c8c Cleanup menu_keys_pressed 2020-02-27 10:03:21 +01:00
twinaphex 602623dc50 Remove RARCH_CTL_CORE_OPTIONS_INTL_INIT 2020-02-27 08:51:03 +01:00
twinaphex fb223ac377 Refactor input_keys_pressed 2020-02-27 08:08:38 +01:00
twinaphex 26b3ccf2e5 Don't pass joypad_info by value 2020-02-27 07:33:14 +01:00
twinaphex b23863ae85 Reduce more cpu_features_get_time_usec calls 2020-02-26 08:17:51 +01:00
twinaphex d19dd12b30 Start calling cpu_features_get_time_usec less per frame iteration 2020-02-26 08:09:20 +01:00
twinaphex 795801b1f5 Reduce amount of calls to input_event_get_osk_ptr 2020-02-26 05:58:11 +01:00
twinaphex 01a65fa5ba Rename menu_osk.c to input_osk.c 2020-02-26 05:49:23 +01:00
twinaphex a7e4bfe479 Cleanups 2020-02-25 08:11:45 +01:00
twinaphex 8ae08cf23d (Gfx widgets) Put AI service overlay code behind HAVE_TRANSLATE
ifdefs
2020-02-23 11:03:38 +01:00
twinaphex 391a02fe45 Cleanups 2020-02-21 06:40:00 +01:00
twinaphex 2ec6d189ff Cleanups 2020-02-21 06:23:49 +01:00
twinaphex 23d521935f Cleanups 2020-02-21 03:31:04 +01:00
twinaphex 7f2d8742c2 Cleanups 2020-02-18 15:30:47 +01:00
twinaphex c1a5bf944a Cleanups 2020-02-18 13:26:43 +01:00
twinaphex 4224900f47 Fix memory leak 2020-02-18 02:02:22 +01:00
twinaphex 898044933a (MSVC 2005) Add HAVE_GFX_WIDGETS 2020-02-17 22:23:33 +01:00
twinaphex f4dd0f27ed MSVC2010 buildfix 2020-02-17 22:19:22 +01:00
twinaphex e3af337a78 Buildfix 2020-02-17 21:48:15 +01:00
twinaphex ebc335319e Cleanups 2020-02-17 21:47:09 +01:00
twinaphex 7c7d0f596a HAVE_MENU_WIDGETS now decoupled from HAVE_MENU 2020-02-17 21:28:42 +01:00
Twinaphex f7675bb48a
Merge pull request #10131 from jdgleaver/double-input-fix
Prevent double input when using 'return' key (hardware) to close on-screen keyboard
2020-02-17 16:43:26 +01:00
twinaphex 10d09eaed3 gfx_widgets_init - move content of error path to retroarch.c 2020-02-17 16:42:17 +01:00
twinaphex 4d148ff078 Roll gfx_widgets_context_destroy into gfx_widgets_free 2020-02-17 16:35:19 +01:00
jdgleaver b10d4e9412 Prevent double input when using 'return' key (hardware) to close on-screen keyboard 2020-02-17 15:13:18 +00:00
twinaphex 166c0c2311 Cleanups 2020-02-17 16:07:37 +01:00
twinaphex b00bf17153 Move menu_widgets to gfx/ and call it gfx_widgets 2020-02-17 01:54:07 +01:00
twinaphex b229f267e4 Rename menu_widgets to gfx_widgets 2020-02-17 01:43:40 +01:00
twinaphex 633277ddd0 Refactor menu_widgets_iterate 2020-02-16 23:38:24 +01:00
twinaphex 5d5200d20b (Menu widgets) Refactor 2020-02-16 23:34:49 +01:00
Twinaphex 481e970424
Merge pull request #10126 from hcvcastro/master
avoid crash when running retroarch
2020-02-16 22:27:01 +01:00
twinaphex ec302bc4fc video_set_nonblock_state - remove settings dependency 2020-02-16 22:26:07 +01:00
twinaphex 47af95469a (font_driver.c) Remove configuration.h dependency 2020-02-16 21:59:03 +01:00
Henry Castro 4ac25e09ce avoid crash when running retroarch
Avoid NULL deref when running in GNU/Linux Debian
2020-02-16 16:52:07 -04:00
twinaphex 26dea23b5d Add DEBUG ifdefs 2020-02-16 20:21:54 +01:00
twinaphex e7149effa7 (Menu widgets) Add HAVE_CHEEVOS ifdefs
(retroarch.c) command_reply is now still used regardless of HAVE_CHEEVOS
being defined or not
2020-02-16 18:11:50 +01:00
twinaphex bb2251a7b2 (display server) Cleanup 2020-02-16 17:34:26 +01:00
twinaphex 2f525187a1 (gfx_display.c) Get rid of more header includes 2020-02-16 17:18:13 +01:00
twinaphex b7ced5763b Get rid of header include 2020-02-16 16:54:58 +01:00
twinaphex 9a6ab81739 MOve gfx_display and gfx_animation to gfx/ 2020-02-16 15:26:58 +01:00
twinaphex c71469c715 Rename menu_display to gfx_display 2020-02-16 15:10:07 +01:00
twinaphex fc9edda0ef Turn menu_animation.c into gfx_animation.c 2020-02-16 14:01:34 +01:00
twinaphex 084bad5aaa Every menu driver can set its own callback 2020-02-16 13:40:18 +01:00
twinaphex 45a012eb71 Cleanups 2020-02-15 17:25:20 +01:00
twinaphex 980058ea4c Cleanup dir_init_shader 2020-02-15 15:43:26 +01:00
Twinaphex 1c031466fc
Merge pull request #9513 from guoyunhe/translation-update-script
Add translation update scripts to integrate with localization platforms
2020-02-15 02:39:31 +01:00
twinaphex d86eb46f15 Cleanups 2020-02-14 21:53:45 +01:00
Guo Yunhe 1b395e664f
Merge branch 'master' into translation-update-script 2020-02-14 21:06:03 +02:00
Twinaphex 136163ba4f
Merge pull request #10114 from jdgleaver/widget-scaling
(Menu Widgets) Add scaling
2020-02-14 18:53:43 +01:00
jdgleaver 23c9b86f64 (Menu Widgets) Enable scaling of widgets independently from menu scale 2020-02-14 17:10:39 +00:00
twinaphex 0278e78989 Replace strcmp with string_is_equal 2020-02-14 16:46:09 +01:00
twinaphex 3b977c8747 Cleanups 2020-02-14 16:32:31 +01:00
twinaphex 369348ebaf (Managers) Get rid of settings_t dependencies 2020-02-14 14:24:38 +01:00
twinaphex 3b2a3c1277 (led_driver) Take out settings_t dependency
(menu cbs sublabel) Add HAVE_MATERIALUI ifdefs
2020-02-14 14:05:35 +01:00
twinaphex de604a79ab dir_list_new_special - no more dependency on settings_t 2020-02-14 12:12:59 +01:00
twinaphex 2d274f1369 Move accessibility features to platform frontend driver 2020-02-14 00:17:55 +01:00
twinaphex 4467f811e0 ui_companion_driver_toggle - turn into static function 2020-02-13 22:33:09 +01:00
twinaphex 950f6bb752 (record_ffmpeg) No more settings_t dependency 2020-02-13 21:48:52 +01:00
twinaphex bf35c1faf5 Cleanup 2020-02-13 18:42:11 +01:00
jdgleaver e8a2a39d72 (Menu Widgets) Add scaling 2020-02-13 17:28:32 +00:00
twinaphex 7090de541a - Merge runahead/mylist.c into retroarch.c
- General cleanups
2020-02-13 17:26:11 +01:00
twinaphex b004202cbf Revert "Reduce dependency on settings in menu_widgets.c"
This reverts commit ec53a400a7.
2020-02-13 14:11:52 +01:00
twinaphex b7a17442d9 (menu_shader.c) Remove configuration.h dependency 2020-02-13 02:04:35 +01:00
twinaphex e93244e0cb Cleanups 2020-02-12 17:26:54 +01:00
twinaphex ec53a400a7 Reduce dependency on settings in menu_widgets.c 2020-02-12 17:06:53 +01:00
twinaphex bb0840956f (menu_osk) Cleanup - take out configuration.h dependencies 2020-02-12 16:45:50 +01:00
twinaphex dd01ae8ebc menu_animation.c - no more dependency on configuration.h 2020-02-12 16:31:15 +01:00
twinaphex bc5349061f Missing prototype 2020-02-10 20:39:53 +01:00
twinaphex 70e3ddb224 Cleanups 2020-02-10 17:19:49 +01:00
twinaphex 1fafdb2843 Style nits 2020-02-10 13:18:27 +01:00
twinaphex c142ee19ba Cleanups 2020-02-10 13:12:26 +01:00
twinaphex 0c6bb6660a Cleanups 2020-02-10 11:49:50 +01:00
Guo Yunhe a4bb8f130b
Merge branch 'master' into translation-update-script 2020-02-07 10:59:36 +02:00
twinaphex dce610747b Update audio resampler 2020-02-07 07:53:23 +01:00
eadmaster ed0a624b12
added GET_CONFIG_PARAM and SHOW_MSG network commands 2020-02-04 08:57:45 +01:00
twinaphex 3990254a7c Cleanups 2020-02-04 05:54:00 +01:00
twinaphex 2c2ab2a7b9 Revert "Cleanups"
This reverts commit 110dda6e48.
2020-02-04 04:49:25 +01:00
twinaphex 309dbacb67 Cleanup 2020-02-04 03:11:57 +01:00
twinaphex 110dda6e48 Cleanups 2020-02-04 03:10:58 +01:00
twinaphex 58457ef16c Cleanups 2020-02-04 02:57:16 +01:00
twinaphex 55e7c16dea Cleanups 2020-02-04 02:50:12 +01:00
twinaphex 51bc64559b Revert "(Config file) Don't save 'nul' entries in config file anymore -"
This reverts commit 4c6d46137c.
2020-02-04 01:02:40 +01:00
twinaphex 4c6d46137c (Config file) Don't save 'nul' entries in config file anymore -
config file size goes from 100KB to 20KB
2020-02-04 00:05:11 +01:00
twinaphex 712910dec0 Cleanups 2020-02-03 22:05:11 +01:00
twinaphex 8999235373 Cleanups 2020-02-03 21:45:55 +01:00
twinaphex 8c2fe0a9ae Cleanup 2020-02-03 21:17:17 +01:00
twinaphex e5b236898f Cleanup 2020-02-03 07:22:30 +01:00
twinaphex 6b0a62d6ff Null video driver should work now 2020-02-03 06:49:59 +01:00
twinaphex 5ceb73c1cf More casts 2020-02-03 00:29:34 +01:00
twinaphex 5f631b3499 Cast this 2020-02-03 00:24:24 +01:00
twinaphex bcfa6d7e0e Cleanup 2020-02-02 23:45:11 +01:00
twinaphex 2c37fb1f5e Add HAVE_CONFIGFILE ifdefs 2020-02-02 23:41:17 +01:00
twinaphex e0fdd8d39e Add back HAVE_CONFIGFILE ifdef - will strip out remaps and overrides
support as well
2020-02-02 21:27:38 +01:00