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