Commit Graph

4006 Commits

Author SHA1 Message Date
twinaphex 95d3b7285d MOve functions over to retroarch.c 2021-03-11 04:13:06 +01:00
twinaphex e5045fa2e2 Simplify menu_driver_deferred_push_content_list 2021-03-11 03:49:51 +01:00
twinaphex 839a270a97 Menu refactors:
- Get rid of menu_driver_search_list_clear
- Get rid of contentlist_switch callback - was only ever one
function callback implementation
2021-03-11 03:37:19 +01:00
twinaphex f502cd9e16 Get rid of menu_cbs_down/menu_cbs_up 2021-03-11 03:14:31 +01:00
Autechre 9f3ea51f77
Refactors pt4 (#12126)
* Cleanups:
- menu_driver_set_id - don't pass p_rarch to function
- Ozone: call ozone_list_cache directly instead of going through
wrapper function in retroarch.c that then calls ozone_list_cache
- Some other cleanups, non-functional

* (Menu) Replace calls to menu_driver_list_cache inside retroarch.c
2021-03-11 02:58:35 +01:00
Autechre a2ed065f25
Refactors pt3 (#12124)
* Remove video_pixel_get_alignment - move it to video
drivers that use it

* Rewrite video_driver_pixel_converter_{init/free} - get rid of
p_rarch dependency

* Replace some variables

* (Menu) Get rid of cbs_refresh - was never set to any other
function callback implementation
2021-03-11 02:03:37 +01:00
twinaphex cb5fba6b2a * Fix libnx build
* Put menu_cbs/enum_idx in menu_cbs_init behind DEBUG_LOG
2021-03-10 18:00:51 +01:00
twinaphex 29c509162e Cleanups - menu_entries_get_last_stack - unroll when possible in
retroarch.c
2021-03-10 17:28:31 +01:00
twinaphex a092fe273c Turn retroarch_apply_shader into static function 2021-03-10 17:05:19 +01:00
twinaphex 4516d6626b * Cleanups; non-functional changes -
- Don't pass p_rarch around to other functions if unnecessary
  - Get rid of superfluous get/set runtime shader preset functions
2021-03-10 16:57:31 +01:00
twinaphex a2031608e7 Don't use file_list_get_at_offset - access members directly 2021-03-10 09:41:49 +01:00
twinaphex 6629c20e25 video_driver_set_viewport_config - don't pass p_rarch to it 2021-03-10 05:49:59 +01:00
twinaphex b53b6cbf34 Simplify menu_input_set_pointer_visibility 2021-03-10 05:49:58 +01:00
twinaphex 003fc7ccc8 Get rid of menu_entries_get_at_offset 2021-03-10 05:49:58 +01:00
twinaphex 88b2359a37 Cleanups 2021-03-09 00:51:15 +01:00
twinaphex c645a9b8bb Rewrite osk_last_update_codepoint 2021-03-08 23:28:24 +01:00
twinaphex 682a09fbdb Reimplement input_joypad_analog_axis 2021-03-08 23:02:46 +01:00
twinaphex d98f81359f Small cleanup to input_keyboard_event 2021-03-08 22:09:36 +01:00
twinaphex fa539c9563 runloop_key_event can be NULL - check first if non-NULL before
calling it
2021-03-08 21:11:04 +01:00
twinaphex 012b02635e Get rid of p_rarch for more function arguments 2021-03-08 19:52:08 +01:00
twinaphex af5c311fb0 Simplify code in input_keyboard_event 2021-03-08 19:45:27 +01:00
twinaphex 7b2256941e (Input) Redesign some code for input_driver_mapper - if input_remap_binds_enable
is true, assume input_driver_mapper is allocated, to avoid having to do
the conditional checks beforehand
2021-03-08 19:23:37 +01:00
twinaphex e135df2983 Simplify input_state_device - two case statements were identical
to an already existing one
2021-03-08 07:42:11 +01:00
twinaphex d350ee0256 Remove unused variables 2021-03-08 00:31:36 +01:00
twinaphex 0518f6e13e Create MENU_ENTRIES_NEEDS_REFRESH 2021-03-07 20:00:45 +01:00
twinaphex db314cf5df file_list_set_userdata / file_list_set_actiondata are trivial one-line
functions - just set it directly
2021-03-07 19:30:04 +01:00
twinaphex 0c1e63a3c1 input_overlay_poll - add fallthrough
menu_display_powerstate - cleanup
2021-03-07 19:16:54 +01:00
twinaphex 0cce2fb4e2 menu_entries_append_enum - get rid of menu_driver_ident call 2021-03-07 19:04:24 +01:00
twinaphex e7702ae20f Simplify pause button handling in runloop_check_state 2021-03-07 18:38:33 +01:00
twinaphex 681c5f0b2b Only call rcheevos_hardcore_active once in runloop_check_state 2021-03-07 18:31:53 +01:00
twinaphex 8328043897 Don't have two consecutive rcheevos_hardcore_active boolean
conditionals - have only one instead
2021-03-07 17:59:01 +01:00
twinaphex 69bae76ec3 Buildfix for MSVC 2021-03-07 16:08:49 +01:00
twinaphex a657465a4a Don't call netplay_get_host_room/don't call state_manager_is_reversed
inside retroarch.c
2021-03-07 07:28:13 +01:00
twinaphex 58f54a757f Move global pointer getters to the top 2021-03-07 07:16:40 +01:00
twinaphex 348b353907 Don't use menu_navigation_set_selection inside retroarch.c 2021-03-07 07:09:37 +01:00
twinaphex d6e897ca2c Get rid of menu_entries_set_checked 2021-03-07 06:52:35 +01:00
twinaphex b65d4e483e Avoid calls to menu_entries_get_menu_stack_ptr and
menu_entries_get_selection_buf
2021-03-07 06:26:51 +01:00
twinaphex 7b6a01056e Optimizations to menu refresh/clear functions -
* don't use menu_entries_get_size but used optimized
getter
2021-03-07 06:07:45 +01:00
twinaphex fa2b2708e5 Optimize MENU_ENTRIES_CTL_REFRESH 2021-03-07 06:00:35 +01:00
twinaphex 2bc23c9eaa Found quirk in code - add TODO/FIXME note 2021-03-07 05:49:12 +01:00
twinaphex ef650b2b48 Simplify menu_entries_elem_get_first_char - list is always non-NULL
so no need to check this
2021-03-07 05:25:34 +01:00
twinaphex ae378b8b80 Simplify further 2021-03-07 04:59:21 +01:00
twinaphex 3442f57bc7 menu_shader_manager_set_preset - ret is already set to false
by default, no need to set it again
2021-03-07 04:57:55 +01:00
twinaphex 0b863d6bc7 Forget 'void' for function prototype - needed for C 2021-03-07 04:48:30 +01:00
twinaphex 09bf486618 More cleanups 2021-03-07 04:40:12 +01:00
twinaphex b45eb0c76d Cleanups 2021-03-07 04:28:33 +01:00
twinaphex 2c7d5ad944 Get rid of p_rarch being passed as argument to functions whenever
possible
2021-03-07 04:15:17 +01:00
twinaphex 48926799cb Don't pass p_rarch around as argument unless we have to 2021-03-07 03:35:04 +01:00
twinaphex 5b3e3187c4 Don't pass p_rarch around to other functions if unnecessary 2021-03-07 03:12:55 +01:00
twinaphex a80e563d1f (cheevos) Cut down on calls to gfx_widgets_ready 2021-03-07 02:01:31 +01:00
twinaphex d794a57159 Cleanup 2021-03-06 23:31:37 +01:00
twinaphex 7be3d47b52 Cleanup menu_input_post_iterate 2021-03-06 23:11:00 +01:00
twinaphex a35cecac96 input_state_device - more refactors - prevent duplicate code
for finding base analog
2021-03-06 19:38:21 +01:00
twinaphex 7982613d31 Further optimizations to input_state_device - when input_remote is
false, res is still set to 0, so change conditionals
2021-03-06 19:21:41 +01:00
twinaphex a723e563f0 Further optimize input_state_device - move remote_input boolean
variable and refactor the logic
2021-03-06 19:12:40 +01:00
twinaphex 7c69911065 Further micro optimizations to input_state_device - get rid
of res_overlay variable
2021-03-06 18:59:30 +01:00
twinaphex 490d67ab83 Refactor tons of stateful code in input_state_device - this should
all be streamlined and further optimized
2021-03-06 18:41:45 +01:00
twinaphex fc65a939b7 Refactor some of the input_state_device code - some very messy code in
here
2021-03-06 18:14:06 +01:00
twinaphex f50906787f Small optimization to turbo button handling 2021-03-06 17:57:04 +01:00
twinaphex e6cb7592a6 Further refinement to code that uses input_joypad_analog_button - value
is not subject to change unless the bind is valid, so move conditional
2021-03-06 17:48:58 +01:00
twinaphex 00a5c9502e Check if bind is valid before calling input_joypad_analog_button 2021-03-06 17:38:25 +01:00
twinaphex 5020c6a4d6 input_key_pressed - comment function and redesign it 2021-03-06 17:30:14 +01:00
twinaphex 5b741acbf3 Stylistic cleanups and code refactors to some functions in retroarch.c 2021-03-06 17:21:51 +01:00
Jamiras 5783a2907d add READ/WRITE_CORE_MEMORY network commands 2021-03-06 08:05:48 -07:00
jdgleaver 3c909a3059 Ensure RARCH_CTL_CORE_OPTIONS_LIST_GET returns false if no core options are available 2021-02-26 09:57:50 +00:00
jdgleaver 20a187ef9c Add option to reset all core options for current core/content 2021-02-25 16:59:05 +00:00
jdgleaver 110e318b71 Add support for saving per-directory core options and deleting core option overrides 2021-02-25 10:54:22 +00:00
crystalct 1687d4a90b
Step#1 to add per-folder core options (#11843) 2021-02-23 18:59:11 +01:00
Tony b8f84b8fa1
Restrict menu acceleration to navigation buttons (#12069) 2021-02-23 18:58:58 +01:00
twinaphex 80e90e532a Refactor away strcpy_alloc_force 2021-02-22 06:25:25 +01:00
twinaphex f54679417c Simplifications 2021-02-22 04:46:11 +01:00
sonninnos f03ad6ea7c Tweak menu scroll initial hold delays 2021-02-21 04:24:38 +02:00
twinaphex d1280b4196 Revert "retroarch_load_shader_preset_internal - cleanups"
This reverts commit b51ee5fafd.
2021-02-21 01:06:41 +01:00
twinaphex 069470aff6 Cleanups 2021-02-21 00:04:13 +01:00
twinaphex 8350a2e050 Cleanup handle_discord_join_request 2021-02-20 23:49:38 +01:00
twinaphex b51ee5fafd retroarch_load_shader_preset_internal - cleanups 2021-02-20 21:39:07 +01:00
twinaphex de3a85f18c Cuts down on two path_is_directory calls 2021-02-20 17:45:42 +01:00
twinaphex 4d8db1a091 Small cleanups 2021-02-20 10:05:41 +01:00
twinaphex ffaa7fcd40 Small cleanups/refactors 2021-02-20 09:34:45 +01:00
twinaphex a73de886fc Cleanups - should be no functional changes 2021-02-20 09:02:32 +01:00
Autechre 515b2035ef
Merge pull request #12048 from sonninnos/override-path
Fix empty override paths when launching without content
2021-02-19 01:29:47 +01:00
sonninnos c5abb09182 Fix empty override paths when launching without content 2021-02-18 22:00:34 +02:00
sonninnos f333cd0df8 Logging level adjustments 2021-02-18 19:28:08 +02:00
sonninnos 6c3c2bea5f Logging cleanups 2021-02-18 18:35:31 +02:00
jdgleaver 4b70fbcd86 input_keyboard_event(): Add NULL check (prevents potential segfault when input remaps are disabled) 2021-02-18 11:01:27 +00:00
twinaphex e8cd332b78 Refactor away driver_ctl_find_index 2021-02-17 06:54:37 +01:00
Autechre dea73a5595
Merge pull request #12011 from sonninnos/video-resolution
Screen Resolution option fixes
2021-02-16 22:15:55 +01:00
sonninnos 371453623b Screen Resolution option fixes 2021-02-16 22:59:24 +02:00
twinaphex 219f7ac689 Simplify command_event_init_controllers:
- Take variables out of loop that are not changing per iteration
- Early return in function if info is NULL
- Rearrange some code so it's better readable

Should have no functional changes
2021-02-16 20:29:10 +01:00
David Guillen Fandos 9313b10467 Memalign audio buffers to 64 bytes
This is the most common cache line size, helps with performance.
Also fixes issues with platforms like PSP that wrongly assume that
malloc returns aligned buffers (to 16bytes). This recently broke the PSP
builds.
2021-02-10 21:35:04 +01:00
jdgleaver d81bdcddd0 When remembering last selected shader preset/shader pass directories, also remember selected files 2021-02-09 13:14:00 +00:00
Autechre f661cc3fb5
Merge pull request #11572 from ImJezze/master
Option to open the file browser in the last used directory
2021-02-08 12:29:31 +01:00
Tatsuya79 d97e0b3cee mouse visibility fixes 2021-02-07 16:15:09 +01:00
ImJezze 270c41b35a Implement toggle to open the start directory at the last used location 2021-02-07 11:54:17 +01:00
jdgleaver 864c2913d8 'On-Screen Notifications' menu clean-ups 2021-02-05 16:55:09 +00:00
twinaphex 4df6d287e3 (Clang) Silence 'n' is never used warnings 2021-02-03 11:48:33 +01:00
twinaphex 542162c17b Silence some warnings 2021-02-03 10:39:29 +01:00
twinaphex d6c027be31 (Mac) Silence some warnings(Mac) Silence some warnings(Mac) Silence some warnings(Mac) Silence some warnings(Mac) Silence some warnings(Mac) Silence some warnings(Mac) Silence some warnings(Mac) Silence some warnings(Mac) Silence some warnings 2021-02-01 09:38:01 +01:00
sonninnos d78f321d33 Prevent duplicate key events with hotkeys + keyboard device type 2021-01-30 11:41:44 +02:00
jdgleaver b9691597d1
Add 'L2 + R2' menu toggle gamepad combo (#11935) 2021-01-24 16:33:13 +01:00
Jamiras 015576b2ba
improve error handling for achievement unlocks (#11916) 2021-01-21 04:07:48 +01:00
twinaphex 284634dd1e Silence more implicit conversion warnings 2021-01-16 21:28:54 +01:00
twinaphex 41a8661bdf Silence more implicit conversions 2021-01-16 21:03:57 +01:00
twinaphex f4dc486a77 Silence more implicit conversion warnings 2021-01-16 20:55:17 +01:00
jdgleaver b1ee5a2421 (X11) Fix mouse input when mouse is grabbed 2021-01-16 13:57:25 +00:00
jdgleaver 1c591be8f1 Add option to automatically enable 'game focus' mode when running/resuming content 2021-01-13 15:00:36 +00:00
Ryunam c341aabdb4 Add option to show/hide Refresh Rate notification 2021-01-08 17:32:33 +01:00
Autechre d935b392d9
Merge pull request #11839 from IAmBoring/boring1
Core run init failure forces return to menu
2021-01-07 09:21:33 +01:00
IAmBoring a11f1bd74f
Add Visual Studio 2019 version numbers 2021-01-07 04:23:58 +00:00
IAmBoring 510bed6655
Core run init failure forces return to menu
Gracefully loads dummy core instead of running lots of unexpected bad behavior.
2021-01-07 03:38:27 +00:00
IAmBoring 5d2c4e6868
Threaded audio - prevent callbacks when paused 2021-01-05 16:07:35 +00:00
Autechre 9797ba9f27
Merge pull request #11743 from HyperspaceMadness/Shaders_Fix_Simple_Preset_Relative_Texture_Paths
Shaders Load Refactor and Fix Referenced Texture Loading
2020-12-31 16:13:20 +01:00
Autechre 1681872763
Merge pull request #11772 from fpscan/facebook-gaming
Facebook Gaming stream option
2020-12-28 21:04:09 +01:00
Ömercan Kömür 9fceafdcc0 fb-fix 2020-12-28 16:20:40 +03:00
twinaphex d5e96eed03 Cleanups 2020-12-28 07:33:42 +01:00
HyperspaceMadness 0c526b6498 Shaders Load Refactor and Fix Referenced Texture Loading
Partial update to work with shaders directly

More Edits

More changes

more shader fixes

More Fixes Compiling, reference load still wrong

Added Feedback & things are working

Logging Fixes

Log Fix

More Fixes

Added Feedback Logging

Fixes for file pathing in Linux

Fix GLCore and Crash in QT Saving

Code Cleanup

Removed Unused Function filepath.c

Code Cleanup
2020-12-26 21:09:27 -05:00
sonninnos 73feffc4d1 Keyboard device mapper rework 2020-12-26 04:44:54 +02:00
Autechre 1560641235
Revert "Runahead instance windows fix" 2020-12-24 16:41:23 +01:00
Michaël Palomas 8a76fba78b Removed trailing backslash in Windows Temp path to fix runahead with second instance 2020-12-24 11:57:41 +01:00
twinaphex 4072841c17 Silence warning 'unused function' 2020-12-23 12:56:04 +01:00
Ömercan Kömür 6256b8ca2b first 2020-12-19 15:14:14 +03:00
sonninnos c18c4680b3 Keyboard remapping fix pt2 2020-12-17 00:39:57 +02:00
twinaphex 0e1b980803 Move rarch_timer functions to retroarch_data.h and turn them into
macros
2020-12-13 22:37:42 +01:00
twinaphex 2e266e1577 Cleanups 2020-12-13 22:16:44 +01:00
Autechre 4c98be1aa8
Merge pull request #11677 from jdgleaver/rgui-cjk
(RGUI) Add support for CJK fonts
2020-12-10 23:47:24 +01:00
jdgleaver 0f0ccbadc0 (RGUI) Add support for CJK fonts 2020-12-10 15:17:26 +00:00
twinaphex b6fd220c79 Cleanups 2020-12-09 22:23:07 +01:00
twinaphex 7ce76679de Silence warnings for builds that don't have shader support 2020-12-09 22:11:06 +01:00
twinaphex c2a73a6921 remove unused variables 2020-12-09 22:06:02 +01:00
David Guillen Fandos ed7b3aa415 Add a proper WiFi menu, with Enable/Disable & Disconnect options
This also allows WiFi passwords to be remembered. The underlying
tool (connman) allows to store passswords (that's why it auto connects
whenever you boot a Lakka device), so we expose this so that the user
does not have to re-input the pass when connecting to a saved wifi.

Option to forget a password to come in a future PR, for now a password
is automatically forgotten if the Wifi connect operation fails (we assume
it fails due to password).

Changes the WiFi API to enable these features of course!
2020-12-09 20:20:48 +01:00
David Guillen Fandos 091f6e6354 Improving Wifi API and connman implementation
This sets the ground for more PRs to come. Clean up how scanning and listing
SSID works, and adds attributes to the newtworks.
Frontend will be able to know which networks are "remembered" and thus
require no password to re-connect.

For now scans are performed every 2 minutes or on demand if no networks found
(either for real or in the "cache").
2020-12-04 02:18:03 +01:00
Jamiras 76074a76fe fix discord rich presence 2020-12-03 09:42:40 -07:00
David Guillen Fandos a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
Autechre 1cbc26ac9e
Merge pull request #11614 from HyperspaceMadness/Shader_Multi-Level_Referenced_Presets
Shader_Multi-Level_Referenced_Presets
2020-11-25 15:47:31 +01:00
jdgleaver 8d8ccf45db Prevent 'Rewind Frames' from being set to '1' incorrectly on load content 2020-11-23 14:01:18 +00:00
HyperspaceMadness abb2d06ce9 Shader_Multi-Level_Referenced_Presets 2020-11-22 19:10:08 -05:00
David Guillen Fandos 1c5099051c Adding savestate garbage collector for autoincrement stavestates
As some issues indicate (#6195 #10471 #11008 #6861) there's an issue with
the autoincrement save slot feature: slot index will increase and very old
saves won't be deleted.

This commit adds support to delete old save states with a user defined
save state limit (global). Instead of wrapping around the slot counter
it will simply delete the oldest save, since it is simpler.

For now there's a limit of one deletion per save, which ensures a user
cannot delete many saves by accident if they set the limit too low.
2020-11-22 13:26:23 +01:00
Autechre 8921d31247
Merge pull request #11595 from libretro/dir_check_defaults_only_once
Only attempt to call dir_check_defaults once per runtime session
2020-11-20 04:32:31 +01:00
twinaphex 3ac75c043e Jdgleaver improvements 2020-11-20 03:55:55 +01:00
Autechre 380e878c66
Merge pull request #11552 from sonninnos/turbo-single-hold
Add hold mode for turbo fire 'Single Button'
2020-11-19 07:21:03 +01:00
twinaphex 9ee1e33e09 Only attempt to call dir_check_defaults once per runtime session
when calling the frontend environment get callback - we want to
look at the 'default' directories, and then if they don't yet exist,
auto-create them so we can store files in them.
2020-11-19 07:10:22 +01:00
twinaphex 02607e6c34 Simplify dir_check_defaults 2020-11-19 05:38:04 +01:00
twinaphex c8f92d2247 Revert "(UWP/Small stack size platforms) UWP is short on stack size, these"
This reverts commit 0a3306a7b4.
2020-11-18 16:48:31 +01:00
Autechre 973c707462
Merge pull request #11585 from Jamiras/cheevos_no_core_support
(cheevos) show unsupported core message when viewing achievement list for unsupported core
2020-11-18 00:57:47 +01:00
twinaphex 0a3306a7b4 (UWP/Small stack size platforms) UWP is short on stack size, these
big local char array variables were causing crashes - put them on
heap
2020-11-17 07:17:32 +01:00
Jamiras 8ed0fcb5ce show unsupported core message when viewing achievement list for unsupported core 2020-11-16 21:38:02 -07:00
twinaphex eb41efa9dd Move more global state code to retroarch_data.h 2020-11-17 01:47:47 +01:00
twinaphex b9b1639759 Cleanups - split up global state to retroarch_data.h 2020-11-17 01:34:20 +01:00
twinaphex 8937794d8a Create separate header file for forward declarations in retroarch.c 2020-11-16 23:59:03 +01:00
twinaphex 451a49f6a1 Create video_driver_restore_cached 2020-11-16 23:49:13 +01:00
twinaphex c9997ce520 Cleanup video_driver_find_driver some more 2020-11-16 23:46:08 +01:00
twinaphex 988515d76d video_driver_find_driver - cleanup 2020-11-16 23:27:17 +01:00
twinaphex b6d88b749b Cleanup bsv_movie_init - use return value 2020-11-16 22:37:04 +01:00
twinaphex a8c7a4fcff Simplify video_driver_find_driver 2020-11-16 22:25:09 +01:00
twinaphex 274d01d0e8 Fix bug in hw_render_context_name 2020-11-16 21:43:01 +01:00
twinaphex 4a2183ee41 (GET_PREFERRED_HW_RENDER) Set callback_type even when it returns false
because video driver switching is disabled, fixes PCSX2 D3D11 issues
2020-11-16 21:38:20 +01:00
twinaphex 58efde6c2e Add more logging for GET_PREFERRED_HW_RENDER and SET_HW_RENDER 2020-11-16 21:04:55 +01:00
Tony Jansson 278ddc64ed Add hold mode for turbo fire 'Single Button' 2020-11-13 15:44:32 +02:00
Autechre f502abf166
Merge pull request #11550 from sonninnos/turbomode-fix
Refresh turbo button selection in 'Single Button'
2020-11-12 01:51:31 +01:00
Autechre a80b40fb8a
Merge pull request #11354 from HyperspaceMadness/Shader_Save_Load
Shader save load
2020-11-11 15:46:42 +01:00
Tony Jansson e5c6032d37 Refresh turbo button selection in 'Single Mode' 2020-11-11 15:08:09 +02:00
twinaphex c3bbc763ff (MSVC) Buildfixes 2020-11-11 00:59:00 +01:00
HyperspaceMadness 5008ac6eb0
Merge branch 'master' into Shader_Save_Load 2020-11-10 17:05:23 -05:00
Tony Jansson c3f3ac3dc1 Keyboard remapping fix 2020-11-09 15:22:41 +02:00
Ryunam f3aaf24219 Add Run-Ahead Toggle hotkey with notifications 2020-11-06 21:39:11 +01:00
Autechre f37d38bcd4
Merge pull request #11181 from dankcushions/gles31_32
GLES 3.1 and 3.2 build parameters, and corresponding context checks.
2020-11-04 04:58:24 +01:00
HyperspaceMadness 70bf90c5d8 Shader_Preset_Simple_Save_Cleaned_2020_11_01 2020-11-01 09:18:40 -05:00
Tony Jansson 58cb0286a8 Mouse grab fixes 2020-10-27 04:59:14 +02:00
barbudreadmon 1de6fc479e allow glcore for every cores using gl 2020-10-26 13:08:43 +01:00
Bernhard Schelling c20b01e9e1 Replace custom JSON parser/writer in translation service with rjson 2020-10-25 21:43:30 +09:00
twinaphex e4ee73bfdf Add HAVE_CHEEVOS ifdefs 2020-10-23 04:44:33 +02:00
Autechre 6b3789513f
Merge pull request #11476 from Jamiras/cheevos_core_options_blacklist
(cheevos) core options blacklist
2020-10-23 02:43:05 +02:00
jdgleaver 3e52f318d5 AI Service fixes 2020-10-22 15:59:26 +01:00
Tony Jansson f98fc6de9e Mouse grab improvements 2020-10-22 00:49:31 +03:00
Tony Jansson 2dd03cc0d2 DISABLE_MENU fix 2020-10-21 23:34:32 +03:00
Autechre 179bc894ec
Merge pull request #11464 from sonninnos/cli-closing
Add option for quitting on close content
2020-10-20 21:53:40 +02:00
Tony Jansson 041b6811f4 Minor command_event nitpicks 2020-10-20 22:02:18 +03:00
Tony Jansson 46d516f066 Add option for quitting on close content 2020-10-20 21:45:03 +03:00
Jamiras f58130bb64 disable achievement hardcore mode when certain core options are enabled 2020-10-20 10:37:05 -06:00
jdgleaver af6c2d6969 Add API extension for overriding frontend audio latency 2020-10-20 15:37:34 +01:00
Tony Jansson 39b194d306 Clean vs reset configuration matching redux 2020-10-17 22:15:49 +03:00
Autechre 4fd92ec667
Revert "Clean vs reset configuration matching" 2020-10-17 19:02:28 +02:00
jdgleaver 4961252a7a Add API extension for cores to monitor frontend audio buffer occupancy 2020-10-17 15:06:03 +01:00
Tony Jansson 1825f52353 Clean vs reset configuration matching 2020-10-17 00:09:06 +03:00
twinaphex f066b944e8 Move rewind manager state variable to p_rarch 2020-10-15 06:04:20 +02:00
twinaphex 44b7234756 Move cheat_manager and state_manager to root folder 2020-10-15 05:29:20 +02:00
Tony Jansson 6918b4b5cb Savestate logging cleanup 2020-10-15 03:54:53 +03:00
Tony Jansson c2e8752395 (DINPUT+WINRAW) Keyboard fixes 2020-10-14 21:23:06 +03:00
twinaphex 8802712ae7 Cleanups 2020-10-14 00:46:38 +02:00
Autechre c030e47f73
Merge pull request #11368 from barbudreadmon/glcore_context_switching
Glcore context switching
2020-10-13 22:13:14 +02:00
twinaphex 564e5f4aff Cleanup 2020-10-13 02:13:23 +02:00
Justin Weiss dc6dea4b84 Add audio_driver_output_samples_buf checks back
It's possible for audio_driver_active to be true after the driver has
been uninitialized and before it has been reinitialized, so these
checks are still necessary.
2020-10-11 11:56:06 -07:00
twinaphex d3dbfba8bc Avoid CXX_BUILD warning 2020-10-09 20:19:34 +02:00
jdgleaver 2dc837850f OpenDingux: Add 'sdl_dingux' input/joypad drivers and use by default 2020-10-08 13:26:45 +01:00
Jamiras 96fc17f43c disable frame advance; delay pause spam in hardcore 2020-10-06 07:52:33 -06:00
twinaphex 2588f51ff2 Fix CXX_BUILD 2020-10-06 00:54:37 +02:00
twinaphex f1b6a0dfb1 Add HAVE_THREADS ifdef 2020-10-05 23:52:39 +02:00
twinaphex a7c54f1848 Move video_driver_thread pointer grabbing to retroarch.c 2020-10-05 18:13:53 +02:00
barbudreadmon 5bb90ecf46 compatibility with targets lacking glcore 2020-10-02 14:28:57 +02:00
twinaphex a38ecbe7de gfx_widgets_iterate - cleanup 2020-10-02 11:32:49 +02:00
Tony Jansson 3b76949699 Key descriptor cleanup 2020-10-01 17:34:49 +03:00
twinaphex 9444117b67 Buildfix 2020-10-01 15:37:21 +02:00
twinaphex 9be7da9665 --disable-menu buildfixes 2020-10-01 12:56:30 +02:00
barbudreadmon 1ed6bfb31f allow context switching from gl to glcore (fix typo) 2020-09-29 15:50:02 +02:00
twinaphex d44ab6facf framebuffer_dirty functions - remove these and set member variables
directly in rgui.c and retroarch.c
2020-09-28 03:49:13 +02:00
twinaphex f38eb84cc7 Move gfx_display_draw_text to retroarch.c and get rid of
video_driver_set_osd_msg
2020-09-28 03:38:16 +02:00
Autechre 3c2280b2b2
Merge pull request #11386 from Jamiras/cheevos_discord
(cheevos) don't update discord rich presence when paused
2020-09-27 23:44:29 +02:00
Jamiras 8bc02e2df2 don't update discord rich presence from retroachievements when paused 2020-09-27 14:45:14 -06:00
twinaphex c744baeb89 Add ctype variants to stdstring and use it in RA 2020-09-27 22:15:32 +02:00
twinaphex 14c9ccfda8 Remove gfx_display_{set/get}_driver_id 2020-09-26 19:58:15 +02:00
twinaphex 515e119861 Get rid of gfx_animation_get_delta_time 2020-09-24 06:14:04 +02:00
twinaphex 2ab0300c33 gfx_display.c - can drop dependency now on gfx_animation.h 2020-09-24 06:00:32 +02:00
twinaphex 37237db804 GFX_DISPLAY_GET_UPDATE_PENDING - turn function into macro 2020-09-24 05:59:14 +02:00
twinaphex 1d8bee45e0 Add TODO/FIXME note 2020-09-23 20:40:28 +02:00
barbudreadmon eed47273fb fix crash when using RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2020-09-23 12:34:00 +02:00
barbudreadmon 96e6f99f14 allow context switching from gl to glcore 2020-09-23 11:29:44 +02:00
twinaphex 236622ffa6 (Joypad driver) Init function - return void pointer 2020-09-22 02:30:47 +02:00
twinaphex 8eeb612493 Cleanups 2020-09-20 17:50:06 +02:00
twinaphex 0e49f058f3 Use strcpy_literal in more places 2020-09-19 23:59:06 +02:00
twinaphex 1296fc4745 use strlcpy_literal for string literal copies 2020-09-19 23:28:01 +02:00
Ophidon 2f36c94f3f Variable BFI
BFI support added for 180hz / 240hz / etc. Solves issue with image retention from voltage issues at 120hz BFI. Also disabled BFI while in menu, as if set to an incorrect value for the current refresh rate, could cause severe flickering and difficulty reverting to the correct value.
2020-09-18 11:57:32 -04:00
jdgleaver 8a5ebbf24d Add option to scale overlays automatically (with aspect ratio correction) 2020-09-17 17:23:07 +01:00
twinaphex 6234036d5d Get rid of RARCH_DRIVER_CTL_FIND_INDEX 2020-09-16 18:41:45 +02:00
twinaphex 3a37e13a54 Call video_driver_set_viewport directly 2020-09-15 11:05:47 +02:00
jdgleaver 34e08a688f (Sensors API) Android (crash-)fixes/improvements + add option to disable sensor input 2020-09-14 17:52:45 +01:00
twinaphex 5838817bbd Get rid of gfx_widgets_set_status_text 2020-09-14 14:11:44 +02:00
twinaphex 1bf87b1b48 Don't use snprintf if no formatting is required and we just need to
concatenate strings together
2020-09-14 13:53:04 +02:00
twinaphex 2eadf3b175 generic_menu_entry_action - simplify switch 2020-09-14 12:33:09 +02:00
twinaphex 80e4524878 Turn menu_entry_init into macro 2020-09-13 09:03:21 +02:00
twinaphex c83589fa16 Cleanups to menu_entry_get 2020-09-13 08:05:50 +02:00
twinaphex ba9ad1057f Get rid of menu_entry_get_rich_label/menu_entry_get_value 2020-09-12 18:48:22 +02:00
twinaphex ef8f51dbbc Cleanup 2020-09-12 10:08:36 +02:00
jdgleaver 55b6d8ba15 Miscellaneous overlay fixes 2020-09-11 17:00:44 +01:00
Autechre 33a04a794f
Merge pull request #11312 from justinweiss/3ds-enable-threading
[3DS] Enable threading and add a threaded audio driver
2020-09-10 06:50:12 +02:00
Autechre 8f60e63527
Merge pull request #11307 from sonninnos/close-content-hotkey
Hotkey for Close Content / Unload Core
2020-09-09 06:26:49 +02:00
Tony Jansson eb5e5b546c Hotkey for Close Content 2020-09-08 22:12:42 +03:00
jdgleaver b8ea4fd54e Overlay configuration improvements 2020-09-08 13:37:51 +01:00
jdgleaver a39d6240a6 (Salamander/static builds) Move 'libretro_path' value from 'retroarch.cfg' to independent config file 2020-09-05 13:23:20 +01:00
twinaphex 32d075df79 Start decoupling joypad destruction from input driver destruction 2020-09-05 08:56:28 +02:00
twinaphex aa95de57db Cleanups - make sure we are consistent with NULL pointer dereferences 2020-09-05 08:46:28 +02:00
twinaphex d7c6901151 (3DS) Fix crashing issues 2020-09-04 19:38:39 +02:00
twinaphex 812a5b541b Remove input_get_ptr 2020-09-04 07:27:28 +02:00
twinaphex 7af07def7e Make sure values are float 2020-09-04 03:28:27 +02:00
twinaphex 9f306131d2 input_keyboard_line - don't put this on heap 2020-09-04 03:08:02 +02:00
twinaphex e16c3b96af Remove is_input_keyboard_display_on 2020-09-04 02:56:58 +02:00
twinaphex b4b77fd6b0 Refactor out input_keyboard_ctl 2020-09-04 02:37:58 +02:00
twinaphex ba2b5ab7bc Fix game mode focus 2020-09-03 01:59:14 +02:00
twinaphex def2b3ad30 Fix build for targets with no HAVE_MENU 2020-09-03 01:57:08 +02:00
twinaphex 45cb980a3d Check if input_state is implemented first 2020-09-02 17:30:04 +02:00
twinaphex f30bc03969 Only use input_state_wrap for calls where RETRO_DEVICE_JOYPAD will
be used, don't use it for the specialized input state calls for
other devices
2020-09-02 15:53:26 +02:00
twinaphex 76df818c45 Put this behind HAVE_MFI ifdefs 2020-09-02 15:32:15 +02:00
twinaphex 1c5f4e1dee Start cutting down on input_state - move all joypad driver code up to
higher-level retroarch.c
2020-09-02 15:26:03 +02:00
twinaphex f10832b0d3 Create input_state_wrap 2020-09-02 14:39:58 +02:00
twinaphex 2fde8c21a9 Remove set_rumble function from input driver 2020-09-02 00:38:11 +02:00
twinaphex acc0f2143f Change input_key_pressed so we no longer need to pass joypad
to the poll function callback
2020-09-01 21:43:39 +02:00
twinaphex 0eeb0b37b1 Hopefully fix iOS build 2020-09-01 20:30:53 +02:00
jdgleaver b73c60a8fc (dir_init_shader/dir_check_shader) DISABLE_MENU=1 buildfix 2020-09-01 17:26:29 +01:00
twinaphex 1d67ae3c63 Fix Android error 2020-09-01 17:41:05 +02:00
jdgleaver c5072b6477 Use last selected shader preset directory when changing shaders via previous/next hotkeys 2020-09-01 13:41:10 +01:00
twinaphex cb86be9aef Cleanups 2020-09-01 01:26:32 +02:00
twinaphex 1654d0daf5 Cleanup 2020-09-01 01:22:35 +02:00
twinaphex ab6a896c64 Cleanup some hardcoded strings 2020-09-01 01:18:30 +02:00
twinaphex 07f46bad2b Remove unused event loop glue functions for menu entries 2020-09-01 00:42:24 +02:00
Autechre bf7a184331
Merge pull request #11266 from jdgleaver/play-feature-delivery-fix
(Android) Play Store builds: Do not resolve symlinks when handling core paths
2020-08-31 20:05:38 +02:00
jdgleaver 20230ec625 (Android) Play Store builds: Do not resolve symlinks when handling core paths 2020-08-31 12:13:49 +01:00
twinaphex a217ef393f Fix pointer controls 2020-08-31 02:43:48 +02:00
Twinaphex d7559cdb18 Cleanup some unused variable warnings 2020-08-31 02:12:31 +02:00
twinaphex d4d8b6934a Put keyboard_mapping_blocked into p_rarch / rarch struct
instead
2020-08-30 18:47:29 +02:00
twinaphex 5f08605680 Refactor joypad drivers 2020-08-30 05:29:32 +02:00
twinaphex 2b393e2425 move input_key_pressed to retroarch.c 2020-08-29 22:09:29 +02:00
Autechre 6fe1f97fc8
Merge pull request #11255 from jdgleaver/play-feature-delivery
(Android/Play Store) Add frontend support for core installation via Play Feature Delivery
2020-08-29 04:31:20 +02:00
twinaphex 8999d6e4a6 (DInput) Set a userdata struct for the window message loop properly -
get rid of input_get_data - we no longer need it
2020-08-29 03:41:33 +02:00
jdgleaver 4799d2d955 (Android/Play Store) Add frontend support for core installation via Play Feature Delivery 2020-08-28 16:30:54 +01:00
Justin Weiss f53c137459 [3DS] Enable threading 2020-08-27 19:36:39 -07:00
twinaphex 38805da889 Use config_get_entry instead of config_get_array 2020-08-27 16:52:12 +02:00
twinaphex 8d76b3009e Use config_get_entry instead of config_get_string to avoid
heap allocations
2020-08-27 13:53:51 +02:00
twinaphex cfb14dabf3 Revert "Get rid of some early returns"
This reverts commit 1b04b2452c.
2020-08-27 13:30:06 +02:00
twinaphex 309357e5b2 Cleanups 2020-08-27 13:18:29 +02:00
twinaphex 1b04b2452c Get rid of some early returns 2020-08-27 13:06:51 +02:00
twinaphex 3289401b2f Cleanups 2020-08-27 12:52:03 +02:00
Autechre df245d4917
Merge pull request #11239 from jdgleaver/overlay-gamepad-hide
Add option to hide overlays when a gamepad is connected (Note: Restricted functionality on Android)
2020-08-26 20:23:47 +02:00
twinaphex ad61d8ff92 Simplify config_get_entry 2020-08-26 02:17:37 +02:00
twinaphex 1e5cea48b0 Lower Discord avatar size 2020-08-25 14:10:40 +02:00
twinaphex 6af6d5eb1c (jdgleaver) Initialize string lists properly to prevent memory leaks 2020-08-25 13:25:27 +02:00
jdgleaver cc2e098dab Add option to hide overlays when a gamepad is connected (Note: Restricted functionality on Android) 2020-08-25 11:12:37 +01:00
twinaphex 85599b27a5 menu_ctx_bind_t - we don't need retcode 2020-08-24 16:57:09 +02:00
twinaphex 4dec373edc Don't put local string list variables on heap by default 2020-08-24 15:32:32 +02:00
jdgleaver 2a58920e4e Improve appearance of 'generic_message' widget 2020-08-24 13:31:51 +01:00
twinaphex 71708f8ddd (libretro-common) Add msg_queue_initialize/msg_queue_deinitialize 2020-08-24 12:04:56 +02:00
Autechre 0b2f19e898
Merge pull request #11226 from Jamiras/rcheevos_globals
(cheevos) eliminate exposed variables for tracking hardcore
2020-08-23 15:05:01 +02:00
Jamiras 2f69d2d4ed eliminate exposed variables for tracking hardcore 2020-08-22 12:18:12 -06:00
twinaphex 1f7645b6e8 Cleanup generic_menu_iterate 2020-08-22 14:05:48 +02:00
twinaphex 4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
jdgleaver dd66988c98 Add option to remember last selected shader preset/shader pass directories 2020-08-21 17:02:32 +01:00
Autechre 637e43f4fd
Merge pull request #11212 from Nargash/master
Automatically sort save files, save states, and screenshots by content dir parent folder name
2020-08-21 14:42:59 +02:00
Nargash b8990d601a Add configuration options to sort save files, save states, and screenshots into folders named after the content directory folder. 2020-08-20 19:29:00 -05:00
twinaphex d545739210 Categorize some members of rarch_state 2020-08-20 17:32:44 +02:00
twinaphex 64e2988957 menu_list_flush_stack - cleanup 2020-08-20 17:29:42 +02:00
twinaphex 5a96f8b63c Small cleanups as recommended by Alcaro 2020-08-20 14:50:22 +02:00
twinaphex 8324a03a5e Don't heap allocate audio_driver_input_dat - already
a part of heap-allocated rarch_state
2020-08-20 09:31:23 +02:00
twinaphex dc3dc574d8 String stack size cleanups 2020-08-19 06:53:09 +02:00
twinaphex a85368f21f Move more strings from heap to stack 2020-08-19 06:27:36 +02:00
twinaphex 5166eebcaf for loop cleanups - use space after 'for' 2020-08-19 03:06:22 +02:00
Autechre b1d28fd7e0
Merge pull request #11205 from sonninnos/analog_dpad_override
Skip analog input if analog is in digital mode
2020-08-18 16:28:40 +02:00
twinaphex 216190b826 Clean up more string variables on heap - move to stack 2020-08-18 14:26:15 +02:00
twinaphex 0f4470dabb Move more strings from heap to stack 2020-08-18 13:01:56 +02:00
Tony Jansson 8191b44b0b Skip analog input if analog is in digital mode 2020-08-16 10:12:41 +03:00
twinaphex f48dc0ff5b Reorder structs, alignment 2020-08-15 20:38:31 +02:00
twinaphex f09df7c6e3 Reorder structs, alignment 2020-08-15 19:43:17 +02:00
twinaphex 0598c5643a Reorder structs, alignment 2020-08-15 18:30:27 +02:00
twinaphex cbf96ad8fb Reorder structs, alignment 2020-08-15 03:21:54 +02:00
twinaphex 6e1445c658 Reorder structs, alignment 2020-08-15 02:55:29 +02:00
twinaphex 29cb70abb2 Reorder structs/alignment 2020-08-14 22:43:46 +02:00
twinaphex 7bb63a213c Struct reordering/alignment 2020-08-14 21:09:24 +02:00
twinaphex 10b06ce828 More struct reordering/alignment 2020-08-14 21:00:04 +02:00
Autechre 7cf6d1a1cc
Merge pull request #11195 from jdgleaver/core-updater-search
Enhanced core downloader search functionality
2020-08-14 19:48:16 +02:00
twinaphex 37be80b847 Struct reordering 2020-08-14 19:46:06 +02:00
twinaphex 795092e77f Struct reordering 2020-08-14 19:19:37 +02:00
jdgleaver 6d8f3cb182 Enhanced core downloader search functionality 2020-08-14 17:53:44 +01:00
twinaphex c250b94dcf Move p_anim state to rarch_state 2020-08-14 06:29:13 +02:00
Autechre d081c01cc2
Merge pull request #11183 from Jamiras/cheevos_memory
(cheevos) generic memory mapping using rcheevos
2020-08-12 17:37:46 +02:00
Autechre 172de99048
Merge pull request #11154 from sonninnos/master
Game Focus + OS mouse cursor fix
2020-08-12 17:35:06 +02:00
Jamiras b15411dad8 generic memory mapping using rcheevos 2020-08-11 09:26:04 -06:00
twinaphex 6388872a54 Cleanups/style nits 2020-08-11 16:00:25 +02:00
jdgleaver ee8a2f4268 Add API extension for cores to query the number of active inputs provided by the frontend 2020-08-11 14:07:00 +01:00
dankcushions 6aa0680110 GLES 3.1 and 3.2 build parameters, and corresponding context checks. 2020-08-11 13:47:51 +01:00
Autechre 2979018d68
Revert "Don't report unused input ports to cores" 2020-08-09 21:06:45 +02:00
Nikos Chantziaras e534373dee
Don't report unused input ports to cores
RetroArch has the unfortunate behavior of setting unused ports to
RETRO_DEVICE_JOYPAD in the core through
retro_set_controller_port_device(). "Unused" meaning ports higher than
the "maximum users" amount configured in settings/input in RA. This is
unfortunate because some cores (like the dosbox ones) change their
behavior depending on the device type assigned to ports. If all unused
(and thus invisible and unconfigurable through the UI) are set to
RETRO_DEVICE_JOYPAD, the core changes its behavior because from its
point of view there's multiple joypads connected, and there's no way for
users to disconnect these bogus joypads.

Fix this by not calling retro_set_controller_port_device() on ports that
are not used.
2020-08-09 14:54:28 +03:00
Tony Jansson 53340385a6 Game focus updates:
- Prevent mouse cursor visibility in fullscreen when ungrabbed via game focus
- Reformat logging
2020-08-06 14:15:55 +03:00
twinaphex c3d8c8661f Buildfixes for C89_BUILD --disable-menu 2020-08-06 03:04:21 +02:00
twinaphex 3680804217 Undo path_basedir_size 2020-08-04 03:05:20 +02:00
twinaphex 98b594666f Backport d5e2d42008 2020-08-04 02:03:02 +02:00
twinaphex f47b67bb51 Get rid of forward declaration 2020-08-03 22:30:08 +02:00
Bernhard Schelling 5229b255b5 Show system icons in explore view 2020-08-04 02:37:34 +09:00
jdgleaver dc6f0fd0b3 Prevent runahead from being disabled *permanently* when an error occurs 2020-08-03 16:21:21 +01:00
jdgleaver 535d73cf37 Ensure correct directory is used when saving autoconfig profiles 2020-08-03 13:10:00 +01:00
twinaphex 85e5c783af Backport getting rid of video_context_driver_input_driver 2020-08-03 00:47:58 +02:00
twinaphex deee393dfb Backport video_context_driver_free changes 2020-08-03 00:35:07 +02:00
twinaphex 429a6bb9e3 Cleanup 2020-08-03 00:24:14 +02:00
twinaphex 345ea303f4 Backport video_context_driver_destroy_internal 2020-08-03 00:21:34 +02:00
twinaphex 3058e96d94 menu_input_get_dpi - make it go through wrapper function
for accessing get_metrics
2020-08-03 00:10:03 +02:00
twinaphex 81395689e6 Backport set_resize_null alterations 2020-08-03 00:06:13 +02:00
twinaphex 056f85bf45 Change video_context_driver_set_flags 2020-08-03 00:04:27 +02:00
twinaphex 3e41cbc381 Revert "Add get_metrics to poke interface"
This reverts commit 119689c940.
2020-08-02 23:44:28 +02:00
twinaphex 31f570fdf6 Revert "Cleanups"
This reverts commit 529886a3fe.
2020-08-02 23:44:21 +02:00
twinaphex da5806a810 Revert "Cleanups"
This reverts commit a01a2375a1.
2020-08-02 23:43:56 +02:00
twinaphex a77c559505 Revert "Cleanups"
This reverts commit 69e92fa03b.
2020-08-02 23:43:44 +02:00
twinaphex 5fe2f75842 Revert "Cleanups"
This reverts commit 184ce8e9b7.
2020-08-02 23:43:29 +02:00
twinaphex 2efa8ac80e Revert "Get rid of video_context_driver_input_driver"
This reverts commit 75b1a09184.
2020-08-02 23:43:19 +02:00
twinaphex 75b1a09184 Get rid of video_context_driver_input_driver 2020-08-02 20:37:21 +02:00
twinaphex 184ce8e9b7 Cleanups 2020-08-02 20:27:19 +02:00
twinaphex 69e92fa03b Cleanups 2020-08-02 20:23:10 +02:00
twinaphex a01a2375a1 Cleanups 2020-08-02 20:19:42 +02:00
twinaphex 529886a3fe Cleanups 2020-08-02 19:53:44 +02:00
twinaphex 119689c940 Add get_metrics to poke interface 2020-08-02 19:25:45 +02:00
twinaphex 416363e9fd Cleanups 2020-08-02 18:49:31 +02:00
twinaphex 4d17fde5ea None of the drivers that call video_driver_update_viewport
have either a context driver or have a 'fake' context driver
with translate_aspect implemented
2020-08-02 12:19:07 +02:00
twinaphex 035e7641c5 Cleanup video_driver_update_viewport 2020-08-02 12:16:02 +02:00
twinaphex 4ee45304b0 More warning fixes 2020-08-01 18:14:48 +02:00
twinaphex 04e67f1ac9 Make Xbox 360 reuse default xinput_joypad.c driver 2020-07-31 18:32:28 +02:00
jdgleaver 776301883c Enhanced playlist search functionality 2020-07-31 15:14:51 +01:00
twinaphex 4f931f2729 Use UINT32_C / UINT64_C throughout the codebase 2020-07-29 04:48:11 +02:00
alphanu1 e222d62f6c
Merge pull request #7 from libretro/master
upstream
2020-07-28 18:55:54 +01:00
alphanu1 610f9d6c48 Fix missing arg 2020-07-28 18:15:01 +01:00
Autechre 8cb861798e
Merge pull request #11075 from francescotintori/francesco/playlist_autofix
Playlist base content directory paths
2020-07-28 16:10:20 +02:00
alphanu1 55e3bd3d2d Added ability to adjust porch values
Porches can now be manipulated from the CRTSwitchRes menu
2020-07-28 14:25:38 +01:00
twinaphex 395de4bae5 (Menu explore) jdgleaver's memory leak fixes 2020-07-28 14:32:46 +02:00
Twinaphex 59549d9f62 Remove unused variable 2020-07-28 12:17:16 +02:00
Bernhard Schelling 667e8a558e Explore view - WIP1
A top content view that combines all playlists with database entries to browse by year, developer, system, etc.
Depends on the quality of the available metadata in the database (RDB) files.
2020-07-28 04:44:31 +02:00
francescotintori 9744fcb76a Adds base content directory support in playlists. If playlist base content directory does not match configuration parameter 'rgui_browser_directory', all entries paths are automatically fixed to match parameter 'rgui_browser_directory'.
Functionality is enabled if new parameter 'playlist_autofix_paths' is enabled.
2020-07-27 20:59:56 +02:00
twinaphex 7f1cd52d65 Remove video_driver_context_get_size 2020-07-27 14:33:21 +02:00
twinaphex d6465a1348 Refactor 'focus' function callback 2020-07-27 13:46:55 +02:00
twinaphex 74345f08d6 Refactor video_driver_has_windowed 2020-07-27 13:39:02 +02:00
twinaphex 61b798b789 Get rid of video_context_driver_set_video_mode 2020-07-27 11:08:34 +02:00
twinaphex 197465c1ea make_current is only ever used for GL, so move it out of
video_driver_load/unload_texture and into the inner GL
drivers
2020-07-27 10:26:13 +02:00
twinaphex 3d893b7602 Add extra parameter to unload_texture 2020-07-27 10:15:28 +02:00
twinaphex 1204ae6edb Just call the poke function call here 2020-07-27 09:46:06 +02:00
twinaphex dc94356505 Cleanup context driver video output functions 2020-07-27 09:38:20 +02:00
twinaphex 3e04b158ab Get rid of video_context_driver_write_to_image_buffer 2020-07-27 08:25:11 +02:00
twinaphex 8dc7524e43 Get rid of video_context_driver_translate_aspect wrapper function 2020-07-27 08:15:35 +02:00
twinaphex 9db00e4143 Start using video_driver_get_flags_wrapper again 2020-07-27 06:40:30 +02:00
twinaphex b9e471d22a Revert "Video context driver cleanups - less functions to go through with"
This reverts commit cd1d760a38.
2020-07-26 23:12:05 +02:00
twinaphex 4e5037d7e1 Revert "Get rid of these context driver higher level functions"
This reverts commit 27b09229b3.
2020-07-26 23:11:24 +02:00
twinaphex b96ec6b8a8 Revert "Cleanup"
This reverts commit 3108df009e.
2020-07-26 23:11:16 +02:00
twinaphex 3108df009e Cleanup 2020-07-26 12:04:55 +02:00
twinaphex 27b09229b3 Get rid of these context driver higher level functions 2020-07-26 11:58:38 +02:00
twinaphex cd1d760a38 Video context driver cleanups - less functions to go through with
public scope
2020-07-26 08:00:49 +02:00
twinaphex f94b5864b2 Cleanup 2020-07-25 19:58:14 +02:00
jdgleaver 013ec3ebb2 Core Options: Detect 'enable'/'disable' as boolean-type value labels 2020-07-24 17:15:47 +01:00
jdgleaver 9a19a7ae31 Core option improvements 2020-07-24 15:31:50 +01:00
jdgleaver 60407a84e6 Add input remap drop-down lists 2020-07-23 17:20:41 +01:00
Autechre 6c7143d02d
Merge pull request #10981 from yoshisuga/yoshisuga/ios-metal
iOS/tvOS Metal Renderer
2020-07-21 20:41:07 +02:00
jdgleaver 83f9817041 Fix 'content launched from command line' detection 2020-07-21 14:26:40 +01:00
Yoshi Sugawara 2187cf67c9 Support the ApplePlatform delegate for all iOS builds (the OpenGL one) so that the view initialization happens in the same way; remove the companion UI for iOS; four finger swipe down now shows RA menu on iOS 2020-07-20 15:38:24 -10:00
Yoshi Sugawara 271ac7f925 support the OpenGL driver in the metal build by delegating the view initialization to the ApplePlatform delegate (metal build only for now) 2020-07-20 14:00:28 -10:00
twinaphex f06af20a4a Cleanups 2020-07-19 23:48:18 +02:00
Hugo Hromic 1e3fb9505c (Menu/OSD) Implement configurable update interval for memory usage display
Obtaining system memory metrics is generally an expensive operation.
2020-07-19 19:57:50 +01:00
Hugo Hromic c3bf17d3f5 (Menu/OSD) Refactor "fps_text" into "status_text" internally
"fps_text" is used for several status parameters, not just FPS.
2020-07-19 16:58:58 +01:00
Yoshi Sugawara fd9ac64d55 Merge branch 'master' into yoshisuga/ios-metal 2020-07-19 00:33:54 -10:00
Yoshi Sugawara a19f1451cd removed debug logging statements; enable multi touch on metal view to support touchscreen controls; fixed setting the metal view drawable size based on the view bounds size in pixels 2020-07-19 00:11:15 -10:00
twinaphex b5a52755a0 Buildfix 2020-07-19 03:26:35 +02:00
twinaphex d97e590aaf Reimplement multi button state functions 2020-07-19 03:18:12 +02:00
twinaphex cb5b22b6ac (Android) Refactor axis functions 2020-07-18 22:38:23 +02:00
twinaphex 08ad00f5d3 Start preparing for being able to grab multiple buttons at the same time 2020-07-18 19:51:14 +02:00
Autechre d6a4345c44
Merge pull request #11037 from jdgleaver/hide-set-initial-disk-notifications
Add option to show/hide 'last used disc restored' notifications
2020-07-17 15:05:13 +02:00
twinaphex 1fb77c43a3 (X11) Split up X11 context into two - GL and Vulkan 2020-07-17 14:15:30 +02:00
twinaphex f4bc332bcd (Wayland) Split up Wayland context driver into two - GL and Vulkan 2020-07-17 13:55:25 +02:00
jdgleaver 230c1cdde2 Add option to show/hide 'last used disc restored' notifications 2020-07-17 12:52:28 +01:00
twinaphex 501f737249 (Android) Split up Android context driver into two - GL and Vulkan 2020-07-17 13:45:37 +02:00
twinaphex 8ab4c23deb Move another context driver to VK context drivers 2020-07-17 13:21:44 +02:00
twinaphex cbca370d76 Split up wgl_ctx.c into two files - GL and Vulkan 2020-07-17 04:28:26 +02:00
twinaphex 36b581c733 Add 'Show Cheats Applied' onscreen notification visibility setting 2020-07-17 03:32:22 +02:00
twinaphex 2630727daa Start preparing groundwork for separate context_drivers 2020-07-17 00:44:30 +02:00
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
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