Commit Graph

12762 Commits

Author SHA1 Message Date
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 2c31de56ff Move XMB-specific line ticker code to xmb.c 2024-07-23 21:02:20 +02: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
Eric Warmenhoven 63799385fc
iCloud cloud sync driver (#16794) 2024-07-18 22:02:52 -07:00
Joseph C. Osborn a7bc0ad68f Make custom aspect ratios under integer scaling respect xy offset
This makes them more usable.  I don't understand why it was ever
disallowed, can someone review and let me know?
2024-07-18 08:22:42 -05: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
libretroadmin 58e2e581ec Silence warnings 2024-06-26 15:19:00 +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 38f278519c Remove some header includes 2024-06-16 21:37:46 +02:00
libretroadmin 3f0d3ec393 Replace more strlcats 2024-06-16 19:42:51 +02:00
libretroadmin c4685e8c31 Cut down on strlcats 2024-06-16 19:15:07 +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 36e9d4a79d (ozone) ozone_draw_osk - use strtok_r instead of string_list 2024-06-16 16:38:42 +02:00
libretroadmin 5a863652b6 (RGUI) rgui_update_menu_sublabel - use strtok_r instead of string_list 2024-06-16 16:21:18 +02:00
libretroadmin 37bcb4f093 Replace some strlcat usage with strlcpy 2024-06-16 14:52:26 +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 cfd9cbad8e Fix ST_STRING_OPTIONS 'selected' dropdown item - was off by one 2024-06-16 13:16:49 +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 761d740e46 (menu_displaylist.c) More string_list removal 2024-06-15 18:00:22 +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 01a7740f6f (menu_displaylist.c) Get rid of more string_list usage 2024-06-15 14:02:09 +02:00
libretroadmin 78acf23a9b More string_list removal in menu_displaylist.c 2024-06-15 13:40:22 +02:00
libretroadmin 827e631903 (libretro-common) Some functions now return len 2024-06-15 12:47:51 +02:00
libretroadmin 9e71a566cc Get rid of more instances of string_list in menu code 2024-06-15 07:06:36 +02:00
libretroadmin 6cc5c414da Revert "Cleanups - remove/silence warnings"
This reverts commit cf04a2c0fe.
2024-06-15 06:20:55 +02:00
libretroadmin 7af5cf5690 menu_displaylist_parse_core_option_dropdown - don't use string_list 2024-06-15 05:55:28 +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 c022e4e624 Cut down on snprintf 2024-06-15 00:56:51 +02:00
libretroadmin dcd89f4280 Silence warnings 2024-06-14 23:11:47 +02:00
libretroadmin 55b4ceec70 (WASAPI) WASAPI settings did not show up anymore 2024-06-13 03:53:20 +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
Eric Warmenhoven aa36f75dba apple: Hide threaded video setting 2024-06-05 13:06:14 -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
libretroadmin fc022d780d use C comments in C source files 2024-05-23 08:02:27 +02:00
libretroadmin cf04a2c0fe Cleanups - remove/silence warnings 2024-05-23 07:48:08 +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
Eric Warmenhoven 7a44fb94a6
iOS: Display app icon in app icon picker in materialui (#16520) 2024-05-12 22:52:52 -07:00
zoltanvb 198656eb20
Add support for multimedia keys (#16502)
Extended RETROK_ values with 18 new items, commonly found on
"multimedia" keyboards.

Mapping added for SDL, X11, Wayland, dinput, winraw keymaps.

Keyboard tester function of Remote Retropad extended to cover new keys.

One fix in Android mapping for #12986
2024-05-11 17:06:54 -07:00
Eric Warmenhoven 5bac6c6aac
Add Galician and Norwegian to list of languages (#16510) 2024-05-11 16:57:54 -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
sonninnos 5e79dd4569
Bring back audio toggling on menu toggle (#16467) 2024-04-25 10:10:39 -07:00
Eric Warmenhoven d6ceb3d15c
iOS/tvOS: Fix a couple more path name mangling bugs (#16465) 2024-04-24 10:18:47 -07:00
sonninnos e2a1e6024a
Video sync option label cleanup (#16466) 2024-04-24 07:04:49 -07:00
Eric Warmenhoven c0366aba06
Apple misc (#16462)
* iOS/tvOS: Hide MoltenVK from Core List, again

* iOS/tvOS: Don't show certain core management options

* apple: Manage macOS/iOS/tvOS from one workspace

* iOS/tvOS: update-cores.sh tweaks
2024-04-23 15:53:35 -07:00
Eric Warmenhoven 867d3a92af
iOS/tvOS: fix Import Content (#16450) 2024-04-19 07:12:13 -07:00
BAXY Square ac79b43cb9
Add FlatUX Theme, Remove Retired Themes (#16441)
* Add FlatUX Theme, Remove Retired Themes

With some help from @gouchi, I decided to try and add the FlatUX theme, which has been in the retroarch-assets repository for years.  FlatUX was designed to merge the FlatUI and Retroactive themes into a single, unified design.

With the addition of FlatUX, the Retroactive and Neoactive themes will be retired. This PR removes them both from the menus. The theme files will be removed from retroarch-assets, but are archived on baxy-retroarch-themes.

* Edited Language Files to Add FlatUX, Remove Retired Themes

Edited the language files to Add FlatUX and remove the Retroactive and Neoactive themes.

* Fixed Language Files Again

I apologize for my errors.  Let's see if this gets it right.

* Updated IT Language File
2024-04-18 03:10:56 -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
libretroadmin 95f734fade Silence warning for Dingux - no unused variables 2024-04-06 18:44:49 +02:00
Eric Warmenhoven 595f574f5c
Fix 'Add to Playlist' icon in materialui (#16401) 2024-04-02 00:06:46 -07:00
zoltanvb 2d7ac133ae
Add core path to Core Information screen (#16405) 2024-04-02 00:06:33 -07: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
Patrick Stankard 5452999b2a
Fix mouse grab behavior on Android (#16203)
* Add grab_mouse interface for Android
Makes mouse grabbing and 'Game Focus' work on Android with a real mouse
Properly handle relative mouse motion events on Android (SDK 28 and newer)

* Enable workflow_dispatch on CI Android

* Update android_mouse_calculate_deltas callsites

* Add RETRO_DEVICE_MOUSE to android_input_get_capabilities

* Use Handler to trigger UI events (toggle mouse, immersive mode) with 300ms delay

* Enable input_auto_mouse_grab by default for Android

* Handle RARCH_DEVICE_MOUSE_SCREEN in Android input driver

* Add android.hardware.type.pc to manifest

* Don't attempt to set pointer speed via scaling in android_mouse_calculate_deltas

* Keep x/y values within viewport resolution for screen mouse

* Use video_driver_get_size to get width/height

---------

Co-authored-by: Bernhard Schelling <14200249+schellingb@users.noreply.github.com>
2024-03-19 05:33:02 -07:00
Eric Warmenhoven 68df74e628
tvOS build fix (#16363) 2024-03-16 12:30:11 -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
Eric Warmenhoven bca3cc0165
Minor iOS JIT availability information (#16358) 2024-03-15 23:59:49 -07:00
Rob Loach 936328e637
Remove cursor_directory and resampler_directory (#16346) 2024-03-12 04:10:42 -07:00
sonninnos 2af029d451
(Ozone) Sidebar + sublabel animation fixes (#16326)
* (Ozone) List cache safeguards

* (Ozone) Sublabel width optimization + cleanup
2024-03-04 14:31:39 -08: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
Eric Warmenhoven 7379d33801
tvOS Top Shelf (#16302)
This puts the History and Favorites playlists (up to five items each)
in the Top Shelf menu. In order for this to be enabled you must build
it yourself and change the app identifiers for the TV app and Top
Shelf extension, and add both of them to an app group.
2024-02-27 23:20:32 -08:00
sonninnos 219c666ef8
(Ozone) Sidebar related fixes (#16299)
* (Ozone) Fix crash when deleting last playlist from sidebar

* (Ozone) Respect navigation wraparound in sidebar

* (Ozone) Fix sidebar after loading configuration
2024-02-27 03:00:00 -08:00
sonninnos 59381b7312
Add visibility option for disc control notifications (#16292) 2024-02-26 06:01:15 -08:00
sonninnos 2ad48ae585
Reorder User Interface menu (#16289) 2024-02-26 03:12:19 -08:00
zoltanvb 900c82bfe6
Add saved file name to autoconfig profile save message (#16267)
Autoconfig profile may be useful for e.g. submitting to autoconfig
repo. Construction of the filename is moved to a separate function
and reused for message.
2024-02-20 13:47:35 -08:00
sonninnos 3cb79e38f0
Don't disable FF when toggling menu (#16265) 2024-02-20 13:47:00 -08:00
zoltanvb df193685a4
Add sublabel for mouse index entry. (#16268) 2024-02-20 13:46:47 -08:00
sonninnos 7a4255af9b
Add sensible limits to input_axis_threshold (#16255) 2024-02-19 11:13:05 -08:00
sonninnos 3365f9b86e
Fix input bind hold when every axis does not rest on 0 (#16256) 2024-02-19 11:12:54 -08:00
Rob Loach 1af8a5ff34
[Menu] Tweak the Dracula color theme for rgui and ozone (#16223)
* ozone: Tweak the Dracula color theme

* rgui: Update RGUI's Dracula  color theme

* rgui: Update Dracula's transparency colors
2024-02-18 21:42:12 -08:00
Bobby Smith e1cc4fb14d
Add a new "Classic (Toggle)" turbo mode (#16239) 2024-02-18 08:24:05 -08:00
zoltanvb 46cc2250cf
Sublabels for input bind common entries (#16242)
* Add sublabels for "port x controls" entries

Due to the port-specific indexes, sublabels for these entries
are handled specially. Some simplification/generalization  was
applied and hand-crafted string joining was removed from a few
places, though it remains still in other places.

Preparation for #16121 (this commit does not do anything yet with
file names).

* Further simplifications around joypad_index

Removed a few labels, now unused, and the left/right check, as it
fell back to the default which is given anyway in advance.
2024-02-18 08:23:56 -08:00
Bobby Smith de8e33c6b1
Bring the recent system files checks changes to Qt menu (#16251) 2024-02-18 08:22:57 -08:00
zoltanvb 8dd26faf51
Fix ANDROID_INPUT_WORKAROUND sublabel. (#16226) 2024-02-12 05:40:46 -08:00
Ophidon 7b711214a7
Slang Subframe Shaders Feature (#16209)
Adds support for sub-frame shaders to vulkan/glcore/dx10-11-12.

Builds on the concept already present for frame duplication in use for BFI, to present multiple 'sub' frames per real frame to the shaders, so they can run at a higher framerate than the content framerate. Must be enabled via subframe shaders setting under synchronization settings to be active.

Will allow BFI to be implemented inside of the shaders, among any other use for the higher framerate shader authors can devise.

CurrentSubFrame and TotalSubFrames have been available inside the shaders to track what they want to do on an given subframe. TotalSubFrames will always be 1 when the setting is disabled (and when in menu/ff/pause). Framecount will not increment on sub-frames, as it does not for injected bfi frames now. Should not interfere with any existing shaders that do not check for subframes.
2024-02-09 03:12:55 -08:00
Viačasłaŭ Chalikin 997c7453a8
Fix narrator modes (#16179)
* Fix narrator

* Refactor accessibility
2024-02-08 21:14:23 -08:00
zoltanvb d88d0d5219
Option for disabling initial disc change (#16197)
Loading the last used disc for multi-disc content was automatic.
However, in some cases it is not wanted, as described in #16018
Option is added for controlling the function. Disabling the
option will also implicitly disable index saving.
2024-02-04 11:58:16 -08:00
Bobby Smith 9e6b790f19
Fall back to global system dir if content path is empty when 'System Files are in Content Directory' is enabled (#16175) 2024-02-01 09:42:05 -08:00
Eric Warmenhoven 79e43e2bd4
Fix many warnings (#16180)
Also change iOS/tvOS to use system zlib instead of compiling it in
2024-01-31 09:15:14 -08:00
Bobby Smith 3572461d31
Improvements to firmware checks when "System Files are in Content Directory" is enabled (#16170) 2024-01-28 09:57:34 -08:00
sonninnos 07e945b5ae
(XMB) Layout and thumbnail fixes (#16156)
* (XMB) Thumbnail layout adjustments

* (XMB) Header title improvements

* (XMB) Handheld layout adjustments
2024-01-22 22:10:24 -08:00
sonninnos 266d3ed150
Add option for merging 'Hotkey Enable' device types (#16152) 2024-01-21 18:13:17 -08:00
zoltanvb 7a3c4a14b0
Menu label finetunes (#16144)
Change quit sublabel depending on config save on exit status.
Update restart and menu driver sublabels.
Restore quit help text display.
2024-01-21 18:12:47 -08:00
Ophidon 72c901a90e
Squashed commit of the following: (#16142)
commit 793d41c303206b43932ddcefd44a45836def55eb
Author: Ophidon <jrogers2@gmail.com>
Date:   Fri Jan 19 23:12:31 2024 -0500

    Build Fix 2

    Move declarations of iterators.

commit c0e959b3d3cd773a66a17cfe034f08eaa53d525a
Author: Ophidon <jrogers2@gmail.com>
Date:   Fri Jan 19 22:57:01 2024 -0500

    Build Fix

    Help string was 14 characters too long for c89.

commit fc5506c7906bf82d6f88b7b0d7e4764d58d90622
Author: Ophidon <jrogers2@gmail.com>
Date:   Fri Jan 19 22:40:45 2024 -0500

    BFI Updates

    Significant BFI updates.

    - Adds BFI to dx10/11/12 in general.

    - Updates existing BFI menu option descriptions to be somewhat more clear in how to use correctly.

    - Adds Variable Strobe length via new 'Dark Frames' bfi sub-choice. Only valid at 180hz and above, as it must work with whole frames.

    - Algorithm to auto select 'decent' Dark Frames choice, for any given selected BFI refresh rate. Will also avoid defaults that can cause Image Retention at any Hz higher than 120. (Impossible to avoid at 120 if you have an affected screen... get an OLED :D ) .

    - Some sanity checking on selecting BFI or the other synchronizations options like Swap Interval > 1, that don't play well with BFI.
2024-01-19 23:11:31 -08:00
Eric Warmenhoven 6c57b31ce5
Fix setting iOS app icon (#16107) 2024-01-11 05:48:54 -08:00
waitingmoon 35e140ae08
fix wrong translation key (#16095) 2024-01-09 00:19:50 -08:00
sonninnos 020f3d9390
Silence compilation warning (#16092) 2024-01-09 00:17:54 -08:00
zoltanvb 14d2a61952
Removal of thumbnail pack downloader related options (#16096)
Thumbnail packs are no longer available, but the option was still
present as "legacy thumbnail downloader". Since it serves no
purpose any more, it is removed from the code.
2024-01-09 00:17:47 -08:00
Eric Warmenhoven 4220e5683d
Do CRC checks on PSP/PSP(PSN) content scan (#15623) 2024-01-01 21:57:44 -08:00
David G. F b30aa330aa
Fix quit on close in CLI mode (#16054)
This should fix #16048 It seems that launched_from_cli is overwritten
right after the core unload, which makes RA think it was *not* CLI
launched.
2023-12-28 11:10:22 -08:00
Eric Warmenhoven 089f7321c7
iOS: Allow changing the app icon (take 2) (#16034) 2023-12-24 16:36:49 -08:00
libretroadmin 3c564b8284 Revert "Revert "Revert "iOS: Allow changing the app icon (#16020)" (#16029)" (#16030)"
This reverts commit 8caf6c19b1.
2023-12-22 09:41:31 +01:00
LibretroAdmin 8caf6c19b1
Revert "Revert "iOS: Allow changing the app icon (#16020)" (#16029)" (#16030)
This reverts commit c06743678f.
2023-12-22 00:37:18 -08:00
LibretroAdmin c06743678f
Revert "iOS: Allow changing the app icon (#16020)" (#16029)
This reverts commit 93f7bba6a5.
2023-12-21 23:15:41 -08:00
David G. F 799e56ca98
Fix LAN room join for netpacket cores (#16026)
Tested by @schellingb
2023-12-21 13:48:27 -08:00
David G. F 3194dc9d65
Fix quit on content close option (#16014)
Right now close is based on core unload. There are several places where
cores are unloaded without the intention of stopping the emulation (for
instance whenever Netplay is started, core is updated, etc).

Moreover scheduling a quit under some of those events causes a task
queue deadlock (as per issue #15313) and freezed retroarch.

This fix moves the quit on close to a "manual" check, placed in the
relevant places (close content menu option, close content event (which
also covers hotkeys), etc.)
2023-12-20 16:23:18 -08:00
Eric Warmenhoven 93f7bba6a5
iOS: Allow changing the app icon (#16020) 2023-12-20 16:22:11 -08:00
hunterk 6513a023b8
Add a setting to allow turbo d-pad directions (#16006)
* Add option to allow turbo d-pad inputs

* fix macro tab and update comment
2023-12-13 18:36:09 -08:00
Bernhard Schelling f029b41a74
Netplay netpacket connection flow improvements (#15986)
- Allow starting netplay host while a netpacket core is running without restart
- Allow connecting to a host while a netpacket core is running without restart
- Avoid clients getting stuck in connection loop if the host has the content paused while a client connects by automatically unpausing
2023-12-09 04:48:36 -08:00
Jamiras 93e5566b9a
(cheevos) inform user when server is unreachable (#15970)
* ensure game placard is loaded on main thread

* show on-screen indicator while disconnected

* show server unreachable message in achievements menu

* remove comment
2023-12-02 05:33:13 -08:00
Eric Warmenhoven d7708ad84a
iOS: allow ignoring the safe area (#11210) (#15951) 2023-11-26 04:59:22 -08:00
Eric Warmenhoven 2b820bdf10
iOS: Add option to disable respecting silent mode (#14928) (#15952) 2023-11-26 04:59:14 -08:00
sonninnos a40f695cb8
(XMB) Corrections and cleanups (#15935)
* (XMB) Corrections and cleanups

* (XMB) Wallpaper logic rework
2023-11-22 08:49:27 -08:00
sonninnos 598a0c0d37
(WASAPI) Shared buffer refactor + cleanup (#15929) 2023-11-19 08:44:25 -08:00
baidxi ee417c0f75
fix dynamic wallpaper bug (#15927)
Signed-off-by: juno <juno@debian.debian>
Co-authored-by: juno <juno@debian.debian>
2023-11-19 05:52:50 -08:00
sonninnos 3bf5b518bb
(GLUI) Icon corrections (#15914) 2023-11-16 09:41:03 -08:00
Eric Warmenhoven 2ce083393f
Nit: pass the write/read handlers in the correct order (#15902) 2023-11-14 09:51:51 -08:00
sonninnos 9b97b40566
Enforce swap interval 1 in menu if vsync is on + Restore menu_throttle_framerate option (#15889)
* Enforce swap interval 1 in menu if vsync is on

* Restore menu_throttle_framerate option
2023-11-10 18:40:02 -08:00
sonninnos 866c6853ba
(XMB) Background image improvements (#15884) 2023-11-09 00:54:02 -08:00
sonninnos 1a97b0edd4
Savestate thumbnail fixes (#15869) 2023-11-05 15:32:28 -08:00
zoltanvb e35afdb57a
Separate ffmpeg and audiomixer conditionals (#15872)
There are cases when mixer exists without ffmpeg. In such cases,
some music content can still be added to the mixer for playback.
Logic added to separate the two cases.
2023-11-05 15:32:14 -08:00
zoltanvb 636a6e9d55
Silence a format truncation warning (#15857)
This line generates a warning during compilation:

menu/menu_displaylist.c:11925:46: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=]
11925 |                                        "Mode %d", toc->track[i].mode);
      |                                              ^~
menu/menu_displaylist.c:11925:40: note: directive argument in the range [0, 255]
11925 |                                        "Mode %d", toc->track[i].mode);
      |                                        ^~~~~~~~~
In file included from /usr/include/stdio.h:936,
                 from ./libretro-common/include/file/file_path.h:26,
                 from menu/menu_displaylist.c:27:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 9 bytes into a destination of size 7
   64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   65 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Since the value of the track mode should be either 1 or 2, a modulo 10 should not limit the displayed value, and it removes the warning.
2023-11-01 17:56:56 -07:00
sonninnos 220caa5143
Remove menu_throttle_framerate option (#15850) 2023-10-31 09:58:47 -07:00
Viačasłaŭ Chalikin 43105ab5c7
Add Belarusian language option (#15780) 2023-10-31 05:51:57 -07:00
Eric Warmenhoven cdb2549b2e
Sort playlists ignoring extension. (#15836)
"Sony - PlayStation 2" sorts before "Sony - PlayStation" because when
the menu sorts, it includes the `.lpl` extension, and space comes
before period.
2023-10-30 15:32:50 -07:00
sonninnos da59b8c9ac
Add 'Frame Rest' power saving option (#15834) 2023-10-26 04:20:48 -07:00
GavinDarkglider 5356afc750
Minor fixes to udev input drivers. Add support for canary builds to lakka updater stuff (#15818)
* Input: Udev: Fix touch support building against older kernel headers

* Input: Udev: Fix Touch Deep Debug compile issues

* Input: Joypad: Udev: Joypad: Add Change detection for udev events

This is handy with controllers like the Nintendo Joycons that have a daemon
app in the background to handle combining them into one controller(Joycond)

Since the device was already added, but joycond clamped permissions on evdev
retroarch was never updating the controller input change, this fixes that issue.

Note: Needs a patch in joycond as well, to send change uevent.

This shouldnt cause any issues with other controllers, as the kernel probably
will never send change events for these device types.

* Lakka: Add canary builds to updater
2023-10-25 08:19:00 -07:00
zoltanvb 57e9a3e876
Fix for "no sound on PS2" (#15827)
Earlier refactor f121847e00
has removed CMD_EVENT_AUDIO_START (and stop), however on PS2 it
causes no sound, so it is added back behind a compiler switch.
2023-10-24 00:27:21 -07:00
Cpod12 274d47f957
Xunkar's AI service rework updated (#15640)
* AI service rework

* File missing

* Fixed C89 build

* Fixed usage of inline for C89 build

* Fixed an overlay unloading bug

Made sure to unload the overlay on release and when the server returns empty values in automatic modes.

* Fixed forward decl (c89)

* Fixed OpenGL texture loading

Moved image display to the main thread for now

* Changed some formatting slightly

* Fixed struct variable order and put brackets on newlines

* Moved pointer, fixed retroarch.cfg, and replaced strlcat with strlcpy

* Fixed catenation issue

* Fixed a few other catenation issues

* Fixed one more concatenation  issue

* Fixed concatenation issue

* Fixed a few other concatenation issues

* Fixed one more concatenation  issue

* potential fix for parsing issue

---------

Co-authored-by: Xunkar <329857+xunkar@users.noreply.github.com>
2023-10-24 00:27:06 -07:00
sonninnos f69a29209f
Ignore menu event action in the end of function instead (#15811) 2023-10-16 08:45:23 -07:00
sonninnos e3becab18e
(Ozone) Thumbnail related fixes (#15810) 2023-10-16 06:56:54 -07:00
Ophidon ce6a00b495
High Hz Synchronization (#15798)
* High Hz Synchronization

Makes adjustment to driver_adjust_system_rates and related functions to handle Hz skew adjustment for high refresh rates better, especially when using effective refresh modifiers like swap interval or BFI.

* Reorder for Build Fix

Reorder declaration for build fix
2023-10-14 06:57:40 -07:00
GavinDarkglider 4387b0ab94
Lakka Switch Updates.... (#15754)
* Lakka: Switch: Decouple From LibNX builds.

* Lakka: Always show Power Management Settings menu

* Lakka: Switch: Add Nintendo Switch Options Menu, and First Option

* Lakka: Switch: Add CEC Toggle

* Lakka: Switch: Add Bluetooth ERTM Toggle

* Retroarch: unix platform:  Always display battery meter even when the device reports it as unknown
This is useful for most arm devices that have unknown battery status until charger state changes

* Retroarch: Lakka: Remove Gamemode stuff from build

Lakka will never include this, as it only runs base system, and retroarch.
2023-10-06 04:55:22 -07:00
Cpod12 e7eb588fb6
Fixed text in 16:9 for RGUI not scaling properly (#15768) 2023-10-05 23:18:40 -07:00
sonninnos 6c2cc45628
Prevent proceeding to next bind when single binding (#15746) 2023-09-28 06:57:20 -07:00
sonninnos 05ce35b103
Don't process menu events while input is being flushed (#15742) 2023-09-27 05:52:30 -07:00
bulzipke 32ed9b6041
플레이리스트 롬파일 이름으로 썸네일 이미지를 찾도록 옵션 추가 (#15731) 2023-09-26 05:31:59 -07:00
Giovanni Cascione c3a18e0469
Fix string_options_entries size for drivers settings list (#15710) 2023-09-18 16:53:41 -07:00
Eric Warmenhoven 6e453b5ba0
Avoid crash if ozone sidebar_index_size is 0 (#15693) 2023-09-14 09:11:07 -07:00
sonninnos ca7231f47c
(Ozone) Prevent metadata and footer overlap (#15677) 2023-09-07 13:41:05 -07:00
sonninnos 0eeb9f918e
Fraction setting wraparound rounding correction (#15676) 2023-09-05 18:14:04 -07:00
libretroadmin 050996ab0f Rewrite some strlcats 2023-09-06 02:37:24 +02:00
sonninnos edd1b646e6
Show MIDI output first (#15675) 2023-09-05 11:53:55 -07:00
sonninnos 878ed7583c
Audio synchronization menu cleanup (#15674) 2023-09-05 07:56:47 -07:00
libretroadmin 553e30495b Remove unused variables 2023-09-05 14:55:39 +02:00
sonninnos 8a510451f2
(Ozone) Sublabel scope test (#15670) 2023-09-03 15:20:45 -07:00
libretroadmin c2b81881ae Cleanups 2023-09-02 16:42:49 +02:00
sonninnos b89a750d43
(Ozone) Revert minimum font size enforcements (#15663) 2023-09-02 05:36:51 -07:00
sonninnos 078df8ba39
(Ozone) Sublabel width tweak (#15657) 2023-09-01 02:25:33 -07:00
libretroadmin 94accbb6ef Nits 2023-08-30 06:36:38 +02:00
GABO1423 f654d1bf30
(UWP/Menu) Small Tweaks (#15653) 2023-08-28 20:53:35 -07:00
sonninnos 600beba18b
Check menu toggle before menu event (#15646) 2023-08-27 15:48:47 -07:00
sonninnos 2623f8d085
(XMB+Ozone) Animation corrections (#15645) 2023-08-25 13:02:19 -07:00
sonninnos 60ba927f15
Menu visibility list correction (#15642) 2023-08-23 07:59:15 -07:00
sonninnos 45663afc3f
Add more missing sublabels (#15639) 2023-08-22 18:29:45 -07:00
sonninnos ab1e5c37ca
Add PAL threshold option for automatic refresh rate switch (#15636) 2023-08-22 14:56:15 -07:00
sonninnos 785ff20437
Menu value label cleanup (#15632) 2023-08-21 23:07:16 -07:00
sonninnos dec6c0ca31
Remap label fix when no autoconf profile active (#15631) 2023-08-21 17:05:04 -07:00
sonninnos 12136ad516
Add 'Save As' option for remaps and overrides (#15630) 2023-08-21 16:11:48 -07:00
sonninnos b782111025
Move 'systemfiles_in_content_dir' from Saving to Core (#15629) 2023-08-20 14:56:41 -07:00
sonninnos c512e02cc0
(Ozone) Mouse hover selection fix (#15615) 2023-08-18 12:38:45 -07:00
sonninnos 3246bc6655
Add visibility option for save state notifications (#15616) 2023-08-18 12:38:36 -07:00
sonninnos c708187cd2
Search box usability improvements (#15617) 2023-08-18 12:38:29 -07:00
sonninnos e220e8d234
'Updater Settings' relocation (#15613) 2023-08-17 15:28:45 -07:00
libretroadmin 24287b1cce Cleanups/simplifications 2023-08-17 21:58:41 +02:00
sonninnos ed4e7abeb1
Reinit after updating autoconf profiles (#15611) 2023-08-17 11:50:10 -07:00
sonninnos 0dafa3ca1a
Reorganize settings menu (#15610) 2023-08-17 08:38:52 -07:00
sonninnos 408d5cdd28
Reorganize 'Saving' menu (#15607) 2023-08-16 18:08:08 -07:00
sonninnos c44e2d46d9
(XMB) Message/help box adjustments (#15606) 2023-08-16 18:07:51 -07:00
Jamiras 58f547bfe1
disallow video_swap_interval and black_frame_insertion in hardcore (#15605) 2023-08-16 14:17:54 -07:00
libretroadmin c5088ce2ca Silence some warnings and general cleanups 2023-08-16 22:08:01 +02:00
sonninnos de45fc2f5f
Input binding rework (#15603)
* Input binding rework

* Controller info logging cleanup
2023-08-16 11:13:14 -07:00
libretroadmin bc41e0fdf4 video_frame_info - start passing flags 2023-08-16 19:17:23 +02:00
libretroadmin 5f94f36204 Explicit typecasts to bool 2023-08-16 17:10:59 +02:00
libretroadmin 1b128c61d6 Cut down on one additional strlen call 2023-08-16 16:07:53 +02:00
libretroadmin f51b49f213 More explicit typecasts to bools 2023-08-16 03:22:02 +02:00
libretroadmin 40a0ced947 Be consistent with frontend_driver_get_core_extension - core extension
var should at most be 16 chars big, make only one exception once
2023-08-15 15:01:57 +02:00
Cpod12 904e9fbe1d
Added 21:9 as an option to RGUI (#15572)
* added 21:9 as an option to RGUI

* reverted files that weren't supposed to be changed

* fixed issue with 21:9 not showing in the menu and corrected buffer width
2023-08-12 05:51:12 -07:00
sonninnos 6733d6da57
Revert network address information trimming (#15573) 2023-08-11 07:17:53 -07:00
Joe Osborn 679083a08b
Graceful fallback to readonly mode if RDB can't be opened readwrite (#15569)
* Graceful fallback to readonly mode if RDB can't be opened readwrite
* let RA open db readonly
2023-08-10 11:04:47 -07:00
sonninnos f1c144ea50
(XMB) Color + background adjustments (#15556)
* (XMB) Color + background adjustments

* (XMB) Improve font selector
2023-08-06 09:17:38 +02:00
sonninnos 0db5c65461
Appearance menu cleanup (#15554) 2023-08-05 17:00:25 +02:00
sonninnos 0f0a522a0c
Always show 'Integer Scale Overscale' menu item (#15546) 2023-08-04 09:21:02 +02:00
Eric Warmenhoven 893b0d142e
Cloud Sync (#15548)
* cloud sync - algorithm and abstract cloud storage API

* WebDAV cloud sync driver, and associated net_http improvements

* Cloud sync settings menu
2023-08-04 09:20:50 +02:00
sonninnos 5004e38fb9
(RGUI) Add 'Auto' aspect ratio (#15538) 2023-08-01 06:35:29 +02:00
sonninnos dbdcf1482e
Show also lightgun bind labels instead of only 'N/A' (#15535) 2023-07-31 05:12:21 +02:00
sonninnos 62f3840e38
Prevent left-right hold in boolean menu items (#15530) 2023-07-29 04:59:59 +02:00
sonninnos f121847e00 Don't stop audio on menu toggle 2023-07-27 22:15:58 +02:00
sonninnos 1805484a6f Playlist + Explore corrections + cleanups 2023-07-24 17:59:23 +02:00
sonninnos 663817bc1f Reorder Input Settings menu 2023-07-20 10:28:15 +02:00
sonninnos 2d66b5f863 Add separate sublabel for remap port controls 2023-07-19 22:13:15 +02:00
Rob Loach 1056e8cbca ozone: Tweak Dracula colours a bit 2023-07-18 21:26:31 +02:00
libretroadmin 770b9920f5 Cleanups:
* No implicit memsets for texture_image
* Replace some calls with concatenated strlcpys
* Some style nits
2023-07-18 16:46:54 +02:00
sonninnos 27d5152247 Explore menu usability improvements 2023-07-18 15:59:32 +02:00
sonninnos 4f747d366a (XMB) Entry index cleanup 2023-07-18 13:16:25 +02:00
sonninnos ed9e1064bb (XMB) Explore list thumbnail + ticker fixes 2023-07-17 23:48:07 +02:00
sonninnos 0a843e8624 (XMB) Playlist entry index fix 2023-07-17 23:48:07 +02:00
sonninnos f67912bfa8 Move playlist manager core association options downwards 2023-07-17 23:48:07 +02:00
sonninnos f567c45869 Improve 'Set Core Association' menu 2023-07-17 23:48:07 +02:00
libretroadmin 55996bc9b6 Silence warnings 2023-07-17 17:43:50 +02:00
libretroadmin 7105e0508c Fix compilation issue for some platforms 2023-07-17 15:30:56 +02:00
libretroadmin 35936e20c7 Fix DISPLAYLIST_ARCHIVE_ACTION 2023-07-17 13:07:41 +02:00
sonninnos 96bb0bee55 (XMB) Playlist label limit fixes 2023-07-17 12:28:44 +02:00
libretroadmin 4b6bd83780 Replace some more strlcat calls 2023-07-16 18:33:34 +02:00
libretroadmin d15de21da5 Cleanups 2023-07-16 17:14:10 +02:00
libretroadmin ba492e9614 Move thumbnail_path_data to menu_st - cut down on code duplication in
menu_drivers
2023-07-16 09:46:08 +02:00
Rob Loach 62af42a182 ozone: Update Dracula theme 2023-07-15 22:34:17 +02:00
libretroadmin 3c1e64129e Cutdown on some strlens 2023-07-15 19:35:19 +02:00
libretroadmin f39f1f6ff2 Make sure core_info_find is called first before using the data struct 2023-07-15 16:00:48 +02:00
libretroadmin 5b52dd4965 Fix crash - core_info_find has to come first 2023-07-15 15:54:49 +02:00
libretroadmin 9fc1229bb1 replace some strlcats with strlcpy 2023-07-15 15:37:26 +02:00
libretroadmin e1af98cc43 Cleanups/some code duplication removal 2023-07-15 15:14:26 +02:00
libretroadmin 2785d2d74b Rewrite create_string_list_rdb_entry_{string|int} 2023-07-15 14:02:12 +02:00
libretroadmin 19ae344141 Cut down on more implicit strlens 2023-07-15 10:21:50 +02:00
libretroadmin 98ee9a753c Cut down on some implicit strlens 2023-07-15 09:10:16 +02:00
libretroadmin cd8fffe5d3 Rename all local variables for retro_system_info to sysinfo 2023-07-15 07:45:20 +02:00
libretroadmin cf0d0e93a6 rarch_system_info_t local vars should be renamed from 'system'
to 'sys_info' to avoid false positive code analysis errors
2023-07-15 07:22:38 +02:00
libretroadmin 20f151d42e menu_displaylist_parse_playlist - avoid some implicit strlens 2023-07-14 18:25:33 +02:00
libretroadmin 9e34f22a29 Silence Xcode code warnings + general cleanups 2023-07-14 18:05:54 +02:00
sonninnos 227a9ec34a Allow adjusting screenshot flash without notification enabled 2023-07-13 17:02:33 +02:00
nfore 9ca5c5e623 Revive/rewrite Keyboard Overlay and OSK Toggle
Add keyboard overlay preset, keyboard submenu, and osk_toggle hotkey. Use overlay caching for osk_toggle.

For now, keyboard menu has only preset path, auto-scale toggle, and opacity.

Related fixes:
- input_keyboard_event: Don't check hotkey binds when device is RETRO_DEVICE_POINTER
- Add input_keymaps_translate_rk_to_ascii() for correct character input to input_keyboard_event
- input_overlay_poll: Delay clearing INPUT_OVERLAY_BLOCKED flag until there is no overlay input (Avoids stray input after osk_toggle)
- Send keyboard events for modifiers before other keys (for correct modifier+key input if hitboxes overlap)
2023-07-09 04:42:49 +02:00
nfore 8a81d39437 Overlay Caching
Adds overlay_cache_ptr to keep a disabled overlay in memory when it's expected to be shown again.

Most input_overlay_deinit calls are replaced with input_overlay_unload, which caches the overlay unless initing/deiniting core or disabling overlays.

Loading a cached overlay is done as a swap, intended for osk_toggle.

Related updates:
- Fewer parameters for the overlay loading task. Use current settings when enabling an overlay
- Add input_overlay_check_mouse_cursor() to preserve show/hide mouse behavior
- Don't apply input_overlay_show_mouse_cursor in windowed mode (controlled by mouse grab only)
- Remove some dead code
2023-07-09 04:42:49 +02:00
libretroadmin d514f1ded3 Avoid false positives with code analysis tools - rename
variables called 'system'
2023-07-05 03:29:49 +02:00
sonninnos b899f61c1f Menu navigation hold adjustments 2023-07-04 02:54:30 +02:00
sonninnos 4cca2b8eaf Add menu icons to 'RetroPad Binds' 2023-07-02 05:47:25 +02:00
Eric Warmenhoven 280dcb32f9 Fix several warnings 2023-07-02 05:46:45 +02:00
Eric Warmenhoven ce49bd6dcc Enable option to rumble iOS device instead of controller (#14734). 2023-07-01 19:24:40 +02:00
hunterk 7b20954e66 move port X binds into retropad binds submenu and add appropriate help text and sublabels to discourage people from messing around in there unnecessarily 2023-07-01 19:22:45 +02:00
libretroadmin d4fc6c7ce6 * Reduce snprintf calls to only formatting
* More strlcpy usage, less strlcat
2023-06-21 09:37:55 +02:00
libretroadmin 22dc6aff5a Rework some snprintf/strlcat calls 2023-06-21 09:25:04 +02:00
libretroadmin 60fb5dfc6e Fix system information spacing 2023-06-20 19:12:43 +02:00
libretroadmin 2195ac998b FIx potential -Wformat-truncation warnings 2023-06-20 19:06:45 +02:00
libretroadmin 22f32bf069 replace more strlcat calls in menu_cbs_sublabel.c 2023-06-20 18:21:10 +02:00
libretroadmin 2b4ad8f654 Fix sublabel_netplay_room 2023-06-20 18:01:59 +02:00
libretroadmin b7e122a4fa Replace more strlcat calls 2023-06-20 17:56:45 +02:00
libretroadmin bdc398d79f - Safer code - use strlcpy where possible instead of manual character
assignments for strings longer than 2 chars
- Use strlcpy concatenation instead of strlcat
- Make sure that what remains of iteration of the '_len' variable
for manual char assignment
is done in a safer way so mistakes are less possible
2023-06-20 16:33:55 +02:00
libretroadmin 2cebb07201 (menu_explore) General cleanups:
* Use strlcpy instead of strlcat
* Some style nits
2023-06-20 14:42:31 +02:00
libretroadmin fa80ec099f Rewrite some strlcat calls to strlcpy 2023-06-20 13:21:26 +02:00
libretroadmin c253bf4cbd Reduce char arrays -
* titles and msgs sent to runloop_msg_queue_push should just be
128 in size
* single extensions queried by frontend around 16
2023-06-19 18:16:40 +02:00
sonninnos 23bd1bc7f5 Remove advanced option flag from video rotation+orientation 2023-06-19 17:03:33 +02:00
sonninnos 7eae4ee3f6 Reorder overlay menu 2023-06-19 17:01:52 +02:00
libretroadmin e8242253a7 Reduce strlcat calls where possible 2023-06-19 06:00:10 +02:00