3279 Commits

Author SHA1 Message Date
libretroadmin
73e5d955c3 Downgrade some more variables to NAME_MAX_LENGTH 2024-09-09 16:01:29 +02:00
libretroadmin
0c91d77ae3 C89_BUILD buildfix 2024-09-09 15:27:52 +02:00
libretroadmin
e675ea7e29 Variable cleanups - add TODO/FIXME notes for spurious variable sizes 2024-09-09 15:22:08 +02:00
libretroadmin
b8391e233f * PATH_MAX_LENGTH redefined from 4096 to 2048
* Massive reduction in heap space allocation, going from settings struct
264kb to 119Kb
* Use NAME_MAX_LENGTH for base paths/names, etc
* Use DIR_MAX_LENGTH for directory sizes
2024-09-09 05:47:32 +02:00
libretroadmin
01a9745f5b Settings struct now has a flags variable 2024-09-08 22:49:26 +02:00
sonninnos
3f8dc5c49d
Remove 'Frame Rest' (#16936) 2024-08-29 03:35:09 -07:00
Eric Warmenhoven
12def933dc
cloud sync: add options to sync thumbnails and system files, default off (#16869) 2024-08-11 13:12:35 -07:00
Jason Breitweiser
11d9a841f3
This change allows playlist icons to be replaced with Logos. (#16758)
* This change allows playlist icons to be replaced with Logos. the art is loaded to the Thumbnail Named_Logos folder. It is treated the same as other thumbnails for naming and for automatic download. There is a settings menu option to turn it on and off. It is off by default. This only applies to the xmb menu driver.

* Removed commented out code against the style guide.

* Code cleanup for C89 compatibitity

* Cleaned up errors from Automated CI.

* Cleaned up comments.

* Update gfx_display.c

change strcpy to strlcpy

* Update gfx_thumbnail_path.c

fix code formatting

* Update xmb.c

code formatting changes
2024-08-07 08:39:57 -07:00
zoltanvb
b090f85620
Support for non-PNG local thumbnails (#16806)
Allow thumbnails (boxart, title, screenshot) to be loaded in any
other supported format as well, currently jpg, bmp, tga.

Support is for local thumbnails only, downloads are not changed.
PNG format is always preferred. Menu option added for control,
since trying for multiple thumbnail files may impact performance
on slow storage media.
2024-07-24 18:31:41 -07:00
libretroadmin
afc9cb509a CXX_BUILDFIX buildfixes 2024-07-20 19:42:45 +02:00
libretroadmin
e543aa25ae Silence some warnings 2024-07-20 15:46:26 +02:00
Jonathan Rascher
8935d9db1b Skip core unload when Quit on Close Content is set 2024-06-27 18:32:02 -05:00
libretroadmin
6319fa30c3 (menu_cbs_ok.c) Some cleanups, warning fixes, use strtok_r instead
of strtok
2024-06-26 15:30:45 +02:00
Jay Paul
c570a6a20a allow saves and configs to be optionally synced to cloud 2024-06-25 08:25:28 -05:00
Joseph C. Osborn
05faba73e3 Add config values and menu items for viewport bias x/y 2024-06-25 08:18:39 -05:00
libretroadmin
6ac25079bf (menu_cbs_deferred_push) Get rid of string_list usage 2024-06-18 09:20:36 +02:00
zoltanvb
2ca973770f Fullscreen refresh rate improvements
Handle refresh rate as float in general, and add also extra
attributes (interlaced, doublescan) for video modes.

Make it possible to select exact mode (interlaced / doublescan modes
will not be selected), and allow close matches such as 49.5 Hz
for PAL 50 Hz.
2024-06-17 13:29:40 -05:00
libretroadmin
3f0d3ec393 Replace more strlcats 2024-06-16 19:42:51 +02:00
libretroadmin
54a24dc9d5 input_config_get_bind_string - do proper character
counting now, avoid strlcats, and have functions return
size_t value indicating how many chars were written
2024-06-16 18:07:30 +02:00
libretroadmin
57273faa5a Rewrite 2 of action_ok_rdb_entry_submenu - now with less
allocations
2024-06-16 13:52:28 +02:00
libretroadmin
b8448274df Rewrite action_ok_rdb_entry_submenu - no more string_list usage 2024-06-16 13:44:46 +02:00
libretroadmin
81a1079123 generic_action_ok_dropdown_setting - don't use string_list for
ST_STRING_OPTIONS
2024-06-16 12:52:22 +02:00
libretroadmin
d7d1011ab0 More string_list removal 2024-06-15 19:12:15 +02:00
libretroadmin
c741c9d9a9 Remove unused variables 2024-06-15 16:44:41 +02:00
libretroadmin
59025e849f (menu_cbs_title.c) Remove string_list usage 2024-06-15 15:54:21 +02:00
libretroadmin
1ef4be2280 (menu) More string_list removal 2024-06-15 15:04:05 +02:00
libretroadmin
9e71a566cc Get rid of more instances of string_list in menu code 2024-06-15 07:06:36 +02:00
libretroadmin
de12f0bd28 action_get_title_dropdown_items - use strrchr instead of string_list 2024-06-15 05:41:12 +02:00
libretroadmin
8b66d02db1 general_push - get rid of strlcat calls 2024-06-15 03:28:27 +02:00
libretroadmin
5a3000bcdf general_push - simplifications - less usage of string_list 2024-06-15 03:21:54 +02:00
libretroadmin
df4d59c120 (cbs_deferred_push) Simplify general_push 2024-06-15 02:47:53 +02:00
libretroadmin
dcd89f4280 Silence warnings 2024-06-14 23:11:47 +02:00
zoltanvb
a8d77f618c Better support for multiple reserved devices of the same kind. 2024-06-05 18:17:54 -05:00
zoltanvb
a9968e9e86 Controller device reservation / preference.
For each player, 2 new options are added:
- a reservation type (no reservation, preferred, reserved)
- a reserved device name

When handling port - player assignments, reserved devices
will be assigned to the respective player port. If reservation
type is "reserved", no other device can take that port
automatically.

Reservation config option and matching function lifted from:
PatrickStankard https://github.com/libretro/RetroArch/pull/16269

Test joypad driver was extended for more tests.

Co-authored-by: Patrick Stankard <me@patrickstankard.com>
2024-06-05 18:17:54 -05:00
Tomáš Kelemen (vudiq)
c4f84094c2 Lakka: provide update URL and target name at buildtime
it is more convenient to provide the URL via make option rather than
rely on hardcoded value in the code base. it provides more flexibility
in case of different servers for stable, daily, canary, community, ...

and instead of parsing a file in the filesystem to obtain target name of
the device on which lakka is running, we can provide the target name at
build time as well. the target name is used for the full path URL for
the download of updates.

there is no need to have these values editable via retroarch frontend
and saved in the config file. it is safer to provide them at build time
and have them set this way.
2024-05-25 00:26:22 +02:00
Eric Warmenhoven
8479d83a99 iOS/tvOS: Fix escaping the sandbox for jailbroken devices 2024-05-22 20:33:28 -07:00
Eric Warmenhoven
ee8d8b1689 iOS/tvOS: Post Apple App Store fixes
- both: default VRR true
- tvOS: default overlay off
- tvOS: default directory fix
- both: default language fix
- tvOS: jit support fix
2024-05-17 14:38:35 -07:00
sonninnos
17b9324a24
Cleanup 'Add to Playlist' (#16495) 2024-05-05 03:48:20 -07:00
Eric Warmenhoven
e7f726bd19
iOS: import roms from iCloud (#16478) 2024-04-29 18:30:15 -07:00
Eric Warmenhoven
d6ceb3d15c
iOS/tvOS: Fix a couple more path name mangling bugs (#16465) 2024-04-24 10:18:47 -07:00
Eric Warmenhoven
867d3a92af
iOS/tvOS: fix Import Content (#16450) 2024-04-19 07:12:13 -07:00
Eric Warmenhoven
5fd4eb905c
iOS QOL improvements (#16444)
* iOS/tvOS: bundle cores as frameworks as opposed to dylibs

* iOS/tvOS: update plist to indicate controller support

* iOS/tvOS: living within the sandbox

* iOS/tvOS: import content through share sheet

* iOS/tvOS: default audio sync off due to crash on background

* iOS/tvOS: don't try altkit if there's no reason to

* iOS/tvOS: enumerate cores for appstore distribution
2024-04-18 03:01:39 -07:00
Tomáš Kelemen
c2eddfb260
Upstream Lakka patches (#16439)
* Lakka: fix makefile for Lakka canary

* reboot/restart/eject: fix system commands

* Lakka: add url for devbuild updates
2024-04-16 22:57:49 -07:00
Barry Rowe
26a824caff
Revert of AI service changes (#16428) 2024-04-12 16:17:24 -07:00
libretroadmin
d3ff0425d8 Silence some warnings - unused variables/etc 2024-04-06 19:15:30 +02:00
Jason Breitweiser
87b9d0328e
Add To Playlist functionality (#16386)
* This PR contains Add To Favorite functionality.  It allows moving content to another playlist or to Create a new playlist with the selected content.

* Update retroarch.c

Fixed ISO C90 variable declaration at top of code.

* Update menu_cbs_ok.c

Fixed variable declaration for ISO requirement.
2024-03-28 12:58:16 -07:00
MajorPainTheCactus
eef34e9461
Added rolling scan line simulation based on the shader subframe feature. This is implemented with a scrolling scissor rect rather than in the shader itself as this is more efficient although may not work for every shader pass - we may need an option to exclude certain passes. The implementation simply divides the screen up by the number of sub frames and then moves the scissor rect down over the screen over the number of sub frames. (#16282) 2024-03-19 08:59:36 -07:00
neil4
cc97df732c
Add Overlay Mouse, Lightgun, and Pointer (#16343)
- When enabled, any touch inputs not in a hitbox are used to create pointing device input for the core.
- Mouse: 1-, 2-, 3-touch inputs are LMB, RMB, and MMB
- Lightgun: allows input from overlay buttons or multi-touch mappings
2024-03-16 01:56:30 -07:00
Rob Loach
936328e637
Remove cursor_directory and resampler_directory (#16346) 2024-03-12 04:10:42 -07:00
zoltanvb
82ad6a0320
Logging config file writes in all places where it was not done so far. (#16311) 2024-03-03 08:09:46 -08:00