1458 Commits

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