Commit Graph

1509 Commits

Author SHA1 Message Date
Eric Warmenhoven d228c9d469
iOS: More fixes to enable running on iOS 12 (#16978) 2024-09-08 03:10:30 -07:00
Eric Warmenhoven 60ee32b879
apple: display server, including ProMotion support (#16963) 2024-09-04 22:52:59 -07:00
Eric Warmenhoven 95d53183f5
apple: switch from MTKView to CAMetalLayer for vulkan (#16959) 2024-09-03 19:02:00 -07:00
michael-leroy 73b456e307
Fixes mouse cursor bug that prevents mouse movement when the left/right mouse button is held down. (#16942) 2024-08-31 04:54:20 -07:00
Eric Warmenhoven b3af19f65f
tvOS: Minor fixes to run correctly on tvOS 13 (#16944) 2024-08-31 04:54:11 -07:00
Eric Warmenhoven 4503b3989f
iOS: Better mouse grab (#16933) 2024-08-27 01:53:18 -07:00
Eric Warmenhoven 800be5530f
iOS: Better handling of physical mice/magic keyboard trackpad (#16911) 2024-08-22 12:11:16 -07:00
Eric Warmenhoven 833bf2e616
iOS/tvOS: minor performance tweaks (#16882)
- it's ok to sleep in the foreground
- ios always has focus, otherwise it's not running
- don't keep reparsing strings
2024-08-15 15:26:51 -07:00
Eric Warmenhoven 41b97e4688
tvOS: follow-up fix to #16741 (#16851) 2024-08-06 17:02:49 -07:00
libretroadmin 60e0dd839a iC comments 2024-07-20 17:54:44 +02:00
Eric Warmenhoven 83466994aa Fix #16562 support bluetooth keyboards on tvos 2024-06-27 18:33:48 -05:00
Eric Warmenhoven a13b0f090d wayland: build fix on older qt versions 2024-05-31 18:38:16 -05:00
Eric Warmenhoven 2f1dd3e84f tvOS: Fix menu button on siri remote 2024-05-31 17:56:48 -05:00
Reilly Brogan 7f3de64ef8 wayland: Fix Wayland appId 2024-05-30 22:54:50 -05:00
Eric Warmenhoven 0e9ea9fd47 tvOS: Fix NSO N64 controller 2024-05-30 22:54:29 -05:00
Eric Warmenhoven 77da47613e macos: default Accessibility on if VoiceOver is on 2024-05-24 03:40:18 +02:00
Eric Warmenhoven 07a03811a2 Another ios9 buildfix 2024-05-24 00:12:36 +02:00
Eric Warmenhoven b38304cae5 iOS/tvOS: default accessibility on if voice over is enabled 2024-05-23 18:39:13 +02:00
Eric Warmenhoven 7c899fe005 fix ios9 build 2024-05-22 19:34:52 -07:00
Eric Warmenhoven 79b71179a5 macOS/iOS/tvOS: enable text-to-speech using AVSpeechSynthesizer.
Fixes #16532.
2024-05-22 13:29:48 -07:00
Eric Warmenhoven c1fec60f60 iOS/tvOS: fix keyboard handling for app store builds 2024-05-22 07:25:13 -07:00
Eric Warmenhoven caeb3fafdc tvOS: Fix scaling for 720p 2024-05-19 12:22:33 -07:00
Eric Warmenhoven ce6dbcd7e8
macOS: Qt still builds, if you set QT_INSTALL directory correctly (#16527) 2024-05-14 19:51:45 -07:00
Eric Warmenhoven 7a44fb94a6
iOS: Display app icon in app icon picker in materialui (#16520) 2024-05-12 22:52:52 -07:00
Eric Warmenhoven 24c378da4e
iOS: fix #16485 crash on startup (#16498) 2024-05-05 02:29:27 -07:00
Eric Warmenhoven e7f726bd19
iOS: import roms from iCloud (#16478) 2024-04-29 18:30:15 -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
Eric Warmenhoven 80e9b9ecf4
macos: improvements to remembering windowed size/position (#16436) 2024-04-13 19:42:49 -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
Eric Warmenhoven 0e8d60ba3c
tvOS: fix a crash when a history playlist item does not have a label (#16336) 2024-03-06 14:37:11 -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 7566a0fea7
(WIN32) Fix native ui savestate slots (#16290) 2024-02-26 03:12:07 -08:00
Eric Warmenhoven 8f4964a871
iOS/tvOS: pause application on applicationWillResignActive (#16280) 2024-02-23 11:35:27 -08:00
Eric Warmenhoven 50f4807f88
tvOS: when cache is deleted, force assets.zip re-extraction (#16264)
Also including a script to make building assets.zip easier, for people
building from source themselves
2024-02-19 11:12:09 -08:00
Bobby Smith de8e33c6b1
Bring the recent system files checks changes to Qt menu (#16251) 2024-02-18 08:22:57 -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
Eric Warmenhoven 6c57b31ce5
Fix setting iOS app icon (#16107) 2024-01-11 05:48:54 -08:00
Eric Warmenhoven 285f800c2e
iOS 9 build fix (#16056) 2023-12-28 13:03:47 -08:00
Eric Warmenhoven 99309a4d79
Cloud sync fixes - ignore .DS_Store files and re-sync on app foreground (#16055) 2023-12-28 11:10:13 -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
Eric Warmenhoven 93f7bba6a5
iOS: Allow changing the app icon (#16020) 2023-12-20 16:22:11 -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
zoltanvb c42498e531
Warning fixes. (#15877) 2023-11-06 00:04:17 -08:00
Eric Warmenhoven e6e0d07081
iOS: If runloop_iterate returns an error, exit rather than crash. (#15791) 2023-10-12 03:42:48 -07:00
Eric Warmenhoven c5f6175f12
Avoid a crash if there is no backed up config file on tvOS (#15694) 2023-09-14 09:11:00 -07:00
Eric Warmenhoven a8a33cf3c4
Fix accidental left/right keypresses on tvOS (#15696) 2023-09-14 09:10:49 -07:00
yoshisuga 6b0a5c978e
tvOS: Add target conditionals to fix tvOS build (#15637)
* Add target conditionals to fix tvOS build

* Use TARGET_OS_IOS for iOS
2023-08-22 14:55:59 -07:00
yoshisuga cb2cc58f98
iOS: Support a helper bar button to lock the current orientation (#15633)
* iOS: Support a helper bar button to lock the current orientation

* Moved init of shouldLockCurrentInterfaceOrientation property to iOS specific #if
2023-08-21 23:05:34 -07:00
sonninnos 3246bc6655
Add visibility option for save state notifications (#15616) 2023-08-18 12:38:36 -07:00
libretroadmin 0a96f9595c Explicit typecasts to bools for flags 2023-08-16 04:18:55 +02:00
libretroadmin 3862069cb7 (Qt) Small cleanups 2023-08-15 23:58:54 +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
libretroadmin 1765d491d1 Some minor cleanups - use size_t for return value of strlen,
extensions don't need 256-char arrays, etc.
2023-08-15 14:54:13 +02:00
libretroadmin bd090dea71 Replace more strlcat calls 2023-07-16 18:07:49 +02:00
libretroadmin be65a13102 Cut down on update_title code duplication 2023-07-16 08:00:49 +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
nfore bf0de45ec4 Build fix 2023-07-09 09:30:48 +02:00
Eric Warmenhoven 0b1c6257cf Preliminary MetricKit support on iOS/tvOS 2023-07-04 02:54:13 +02:00
Eric Warmenhoven 280dcb32f9 Fix several warnings 2023-07-02 05:46:45 +02:00
libretroadmin e3db17bf2d (Qt) Less strlcat 2023-06-20 19:26:02 +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 0bf3d21538 Reduce some char arrays which are too big 2023-06-19 17:31:50 +02:00
sonninnos 83d888ca4a Cleanup Desktop Menu welcome text 2023-06-18 19:42:10 +02:00
libretroadmin 631301b3f7 * Cut down on strlcat calls when possible and replace them with clever
usage of strlcpy (when position/offset of previous strlcpy/snprintf call
is known. strlcat implementation in libretro-common makes implicit strlen
call, using strlcpy avoids this
* Reduce a bunch of local char variables by use of said clever usage,
should save up on local stack size usage
2023-06-18 12:06:12 +02:00
libretroadmin 246cceeb27 Silence more signedness warnings 2023-06-14 19:51:31 +02:00
Eric Warmenhoven 6218649b4c tvOS: Fix analog stick handling after adding Siri remote tap support 2023-06-06 01:53:23 +02:00
Eric Warmenhoven 6c831b25a6 Restore "macOS Cocoa: fix mouse grab in windowed mode."
This reverts commit 269c902429, with a
build fix.
2023-06-06 01:52:13 +02:00
libretroadmin 269c902429 revert 2023-06-04 16:28:59 +02:00
Alexander Kozharsky 167c52ec77 macOS Cocoa: fix mouse grab in windowed mode. 2023-06-04 14:51:04 +02:00
libretroadmin a7977c5f38 (Qt) Get rid of menu_setting_find references 2023-06-01 23:56:56 +02:00
libretroadmin 68ddb0e3b2 (Qt) Cleanup 2023-06-01 23:51:53 +02:00
libretroadmin 37190f8036 Header uniformity cleanups 2023-05-30 21:21:05 +02:00
libretroadmin c24744eae5 Remove video_driver_show_mouse/hide_mouse 2023-05-29 18:58:23 +02:00
Eric Warmenhoven 6506b65ce7 Fix #15316 - on iOS, stop/start audio on interruptions 2023-05-26 03:27:31 +02:00
Eric Warmenhoven b1503c6fc0 Add accelerometer and gyroscope sensors to iOS 2023-05-21 23:18:34 +02:00
Eric Warmenhoven 3b4acbe5fa Also handle tap events on tvOS 2023-05-12 04:42:20 +02:00
Eric Warmenhoven 7242600a0b Back up retroarch.cfg to NSUserDefaults on tvOS. 2023-05-12 04:42:20 +02:00
Eric Warmenhoven d5a86e2363 iOS needs to targets 13 due to some keyboard emulation, but tvOS does not 2023-05-12 04:42:20 +02:00
libretroadmin 07cb5f4e98 Remove MENU_ENTRIES_CTL_SET_REFRESH 2023-05-11 01:58:30 +02:00
Eric Warmenhoven 22dc543364 tvOS has its own beautiful screensavers and I would like them 2023-05-10 22:00:23 +02:00
libretroadmin 91ea92e50b Get rid of some menu_driver_ctl commands 2023-05-10 21:30:09 +02:00
Eric Warmenhoven dda7776252 tvOS Siri remote handling
It's not really usable as a game controller, but it is good for going
through the menu as a simple LRUD.

This also adds better support for names of mFI controllers, as well as
being able to do the expected tvOS behavior of "backing out" of the app.
2023-05-10 08:41:09 +02:00
Eric Warmenhoven 994a2ea108 AltKit support for tvOS 2023-05-08 18:35:43 +02:00
libretroadmin 099f33e0b3 (Menu) Simplifications 2023-05-06 22:10:55 +02:00
libretroadmin 6d9482f3f0 (Menu) Cut down on small superfluos wrapper functions 2023-05-06 17:19:40 +02:00
libretroadmin c400fa761c (UI companion driver) Remove unused notify_content_loaded 2023-04-27 03:02:00 +02:00
libretroadmin bce958780d Remove unused ui_companion_notify_list_loaded - and menu_list member
from menu_displaylist_info
2023-04-26 20:21:07 +02:00
warmenhoven 295e5f0682
JIT support in iOS (#15224)
* Use AltKit to try to enable JIT on iOS

* libretro: Add API to check JIT availability on iOS
2023-04-26 01:55:37 +02:00
libretroadmin 07eddd7229 Cleanups 2023-04-23 16:09:24 +02:00
warmenhoven f5a2d1598a
Make sure to call steam_poll. (#15050) 2023-03-03 01:53:16 +01:00
warmenhoven 9c2f908d44
Fix initial blurriness on Metal (#15002)
This reverts #14963 and part of #14942. Instead of forcing a size
change on mac the way we do on tvos, bring back the old way of making
two setContentSize calls.
2023-02-21 20:09:21 +01:00
libretroadmin 6728d5a2fa (Subsystem) Cleanups 2023-02-19 12:15:45 +01:00
warmenhoven c242586ea7
tvOS improvements (#14983)
The initial popup screen advertising the web server did not prevent
keys from passing through, so interactions with the alert would also
be handled by the menu. The alert would pop up any time there was a
network reconfiguration; now it only pops up once per run. Added a way
to turn off the webserver advertisement alert permanently.

Also fixed a bug around filtering the Siri remote out, and turning
controllers off while the app is running.
2023-02-15 11:59:06 +01:00
warmenhoven ac2cceb905
Fix a few mac windowed mode settings (#14942)
* Use "Remember window position and size" setting (fixes #14806)
* Implement window opacity
* Enable "Show window decorations" toggle
* Hide "Disable composition" option (osx does not support disabling composition)
2023-02-03 07:32:30 +01:00