Commit Graph

3371 Commits

Author SHA1 Message Date
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