Commit Graph

23470 Commits

Author SHA1 Message Date
Narr the Reg 4afca6bf5d service: capsrv: Migrate to new IPC 2024-01-29 20:35:45 -06:00
Liam 8e0a40434c am: stop emulation when all applets are closed 2024-01-29 20:17:33 -05:00
Liam 68303ed601 core: support offline web applet 2024-01-29 20:17:33 -05:00
Liam 8a146469c0 am: return AppletDataBroker and use for frontend applets 2024-01-29 20:17:33 -05:00
Liam b1c2f791af am: rework IStorage for transfer storage 2024-01-29 20:17:33 -05:00
Liam 182137a9a4 am: migrate global state to per-applet state structure 2024-01-29 20:17:33 -05:00
Liam 3155f4e96d am: retrieve main applet creation info from frontend 2024-01-29 20:17:09 -05:00
Liam dfb9fa0144 am: re-namespace frontend applets to frontend directory 2024-01-29 18:43:45 -05:00
Liam a7e9d7842d am: add new datatypes for per-applet state 2024-01-29 18:43:45 -05:00
Liam 7de6b41030 service: split am into components 2024-01-29 18:43:45 -05:00
LotP1 2cc5c517cf
Update sockets_translate.cpp
Align the error case with it's index in the Errno enum
2024-01-30 00:34:07 +01:00
LotP1 c0775e74ec
Update sockets.h
Add the CONNREFUSED error to the Service::Sockets::Errno enum
2024-01-30 00:27:11 +01:00
LotP1 3acf35bb98
Update sockets_translate.cpp
Add support for the CONNREFUSED Errno.
Without this Connect() will return SUCCESS when a connection is refused, instead of an error code. This causes code, that relies on the result of Connect() being SUCCESS, to execute when it shouldn't.
2024-01-30 00:23:43 +01:00
Narr the Reg 64fca24b32 service: mii: Set arguments as const 2024-01-29 11:22:44 -06:00
Liam 41149d061d notif: rewrite for new IPC 2024-01-29 11:56:32 -05:00
liamwhite ba4cee1812
Merge pull request #12843 from t895/system-driver-whoops
android: Don't show delete button for system driver
2024-01-29 09:09:38 -05:00
liamwhite 06abf3205a
Merge pull request #12837 from german77/cat
service: am: Focus state changed goes last
2024-01-29 09:09:00 -05:00
liamwhite adfdc9520a
Merge pull request #12836 from german77/im_home
service: hid: Implement home, capture and sleep buttons
2024-01-29 09:08:52 -05:00
liamwhite 90cb852908
Merge pull request #12814 from Kelebek1/time_new_ipc
Move time services to new IPC and add debug printing
2024-01-29 09:08:46 -05:00
liamwhite 278dd589ec
Merge pull request #12439 from FireBurn/vkresult
Simplify VkResult lookup
2024-01-29 09:08:32 -05:00
t895 15e8791f9d android: Don't show delete button for system driver 2024-01-29 06:59:34 -05:00
amazingfate 6c8df6af44 fix build for gcc 11 2024-01-29 14:00:56 +08:00
german77 8e93537266 service: am: Focus state changed goes last 2024-01-28 22:02:01 -06:00
german77 b8f16f3538 service: hid: Implement home, capture and sleep buttons 2024-01-28 19:28:37 -06:00
german77 87e26de0fc service: hid: Restore active aruid 2024-01-28 18:27:25 -06:00
Narr the Reg 575183d6dc service: hid: Fully implement touch resource 2024-01-28 18:27:25 -06:00
liamwhite 6a2532fe17
Merge pull request #12555 from flodavid/fix-gamemode-setting
Save gamemode configuration and add per-game config
2024-01-28 15:02:34 -05:00
liamwhite 3655115105
Merge pull request #12821 from merryhime/atomic_ops
atomic_ops: Reduce code duplication with templates
2024-01-28 15:02:28 -05:00
liamwhite 5561a08d59
Merge pull request #12831 from Kelebek1/audren_multi
Use the input process handle to get the correct application's memory
2024-01-28 15:02:22 -05:00
liamwhite e687ca8735
Merge pull request #12833 from merryhime/vsync-crash
configure_graphics: Avoid crash when vsync_mode_combobox is empty
2024-01-28 15:02:15 -05:00
Merry 0bf46cb1ee configure_graphics: Avoid crash when vsync_mode_combobox is empty (occurs when renderer backend is Null) 2024-01-28 19:14:38 +00:00
Kelebek1 19a2f12692 Use the input process handle to get the correct application's memory 2024-01-28 18:51:43 +00:00
liamwhite 72c897c49d
Merge pull request #12826 from t895/system-driver-version
android: Show system driver information
2024-01-28 11:57:58 -05:00
liamwhite 077a50a547
Merge pull request #12825 from liamwhite/why
kernel: clear pinned waiter list on unpin
2024-01-28 11:57:53 -05:00
liamwhite 820f1c8a16
Merge pull request #12823 from german77/set-audio
service: set: Implement more Qlaunch Settings
2024-01-28 11:57:47 -05:00
liamwhite b163757e1f
Merge pull request #12802 from german77/mii_interface
service: mii: Migrate service to new interface
2024-01-28 11:57:40 -05:00
german77 b75401a2cb service: set: Increase settings version 2024-01-28 09:32:54 -06:00
german77 12e7ee2357 service: set: Implement more Qlaunch Settings 2024-01-28 09:32:46 -06:00
t895 c770af9b12 android: Disable focus on loading card
Additionally de-emphasize the ripple that I can't disable
2024-01-28 00:25:07 -05:00
t895 2d8f80b65e android: Show system driver information 2024-01-27 23:59:02 -05:00
Liam 6c4eb2733d kernel: clear pinned waiter list on unpin 2024-01-27 22:53:49 -05:00
t895 3f1290cee3 android: Multi-program app switching 2024-01-27 20:05:51 -05:00
Merry 5a20d07c21 atomic_ops: Fix MSVC 2024-01-27 21:42:16 +00:00
Merry 9f91d310c6 atomic_ops: Remove volatile qualifier 2024-01-27 21:36:39 +00:00
Merry 6527c0d2fc atomic_ops: Reduce code duplication with templates
Also fixes builds on unusual toolchains where:
- u32 is unsigned int
- u64 is unsigned long long
- uintptr_t is unsigned long
2024-01-27 21:12:12 +00:00
K900 8b47465586 input: add a missing null pointer check
There's a few other places where the result of GetAruidData is accessed without a null check,
but I couldn't find a code path that hits those.
2024-01-27 17:32:49 +03:00
t895 6a4b25699d android: Reload global settings on closing emulation
UI like the driver manager expects the global settings to be loaded when in the MainActivity so we reload global config to properly reset state on exit.
2024-01-26 23:05:02 -05:00
Kelebek1 da410506a4 Move time services to new IPC.
Add some fixes/improvements to usage with the new IPC
2024-01-27 03:30:09 +00:00
Narr the Reg c5e88c654e service: mii: Migrate service to new interface 2024-01-26 10:43:34 -06:00
liamwhite bd8635e26a
Merge pull request #12808 from t895/uri-moment
vfs: Fix getting URI filename
2024-01-26 10:23:08 -05:00
liamwhite 4349cdba07
Merge pull request #12769 from german77/no-log
core: hid: Reduce controller requests
2024-01-26 09:57:40 -05:00
t895 f2fb761bac vfs: Fix getting URI filename 2024-01-26 09:57:22 -05:00
liamwhite 59aee2b461
Merge pull request #12809 from t895/error-message
android: Add cancel condition to installed content check
2024-01-26 09:56:01 -05:00
liamwhite 4d206d849e
Merge pull request #12765 from german77/sys-hid
service: set: Implement more settings functions for Qlaunch
2024-01-26 09:55:47 -05:00
liamwhite 744c0173d1
Merge pull request #12801 from german77/vibration-fix
service: hid: Don't try to vibrate if device isn't initialized
2024-01-26 09:55:37 -05:00
liamwhite 55482ab5dc
Merge pull request #12707 from FearlessTobi/fs-housekeeping
fs: Various cleanups & add path class for later use
2024-01-26 09:55:25 -05:00
t895 e56b44dee6 android: Add cancel condition to installed content check 2024-01-26 09:29:51 -05:00
Narr the Reg f2012e5aff service: hid: Don't try to vibrate if device isn't initialized 2024-01-25 23:46:46 -06:00
liamwhite 4526fdaf64
Merge pull request #12796 from t895/controller-optimizations
android: Controller focus optimizations
2024-01-25 23:01:44 -05:00
Liam a774ff935c cmif_serialization: support non-domain sessions on domain servers 2024-01-25 22:18:42 -05:00
Liam 431df5ae93 cmif_types: improve ergonomics of types 2024-01-25 22:18:37 -05:00
t895 677c2c2cd2 android: Disable default focus highlight on views that shouldn't be selected 2024-01-25 20:49:57 -05:00
t895 ee540c712c android: Allow controller to focus on toolbar menu items
Workaround for this
https://issuetracker.google.com/issues/256948272
2024-01-25 20:48:58 -05:00
t895 d23c4393fd android: Add 600dp layout for GameInfoFragment 2024-01-25 20:46:03 -05:00
t895 b24a111136 android: Fix button click listener for build version name
Was set to the text instead of the parent view by mistake
2024-01-25 20:43:12 -05:00
t895 91636deaaf android: Disable focus for the root of cards that contain buttons 2024-01-25 20:42:23 -05:00
t895 68cbf67f4c android: Focus on the in game menu when opened 2024-01-25 20:39:52 -05:00
Narr the Reg 53b321c945 service: set: Implement more settings functions for Qlaunch 2024-01-25 17:14:18 -06:00
FearlessTobi 975deb7528 Address review comments and fix compilation problems 2024-01-25 16:43:53 -05:00
FearlessTobi 2c049ae06d fs: Add path class 2024-01-25 16:42:06 -05:00
FearlessTobi 54372fdff5 result: Make fully constexpr, add ON_RESULT_INCLUDED 2024-01-25 16:42:06 -05:00
FearlessTobi c60ab6bbf6 fs/errors: Unify naming of result codes 2024-01-25 16:42:06 -05:00
FearlessTobi cc09c265e1 fs: Replace Mode enum by OpenMode enum 2024-01-25 16:42:05 -05:00
FearlessTobi 0f9288e38d vfs: Move vfs files to their own directory 2024-01-25 16:40:42 -05:00
FearlessTobi 06fb7f90da fs: Move fsp_srv subclasses to separate files
fs: Move additional files to the fsp directory
2024-01-25 16:40:42 -05:00
liamwhite e04368ad7c
Merge pull request #12759 from liamwhite/mp-misc
core: miscellaneous fixes
2024-01-25 16:21:38 -05:00
liamwhite 3e2d3548f2
Merge pull request #12777 from t895/firmware-warning
android: Add key warning
2024-01-25 16:21:29 -05:00
liamwhite eb9036d75b
Merge pull request #12783 from liamwhite/cmif-generation
service: add template serializer for method calls
2024-01-25 15:40:09 -05:00
Liam 01a2d978eb service: add template serializer for method calls 2024-01-25 14:35:51 -05:00
liamwhite 6e67b25af9
Merge pull request #12787 from t895/game-list-refresh
android: Only compare game contents for GameAdapter
2024-01-25 14:19:32 -05:00
liamwhite e91667ba75
Merge pull request #12786 from t895/driver-overlay
android: Show driver vendor in FPS overlay
2024-01-25 14:19:25 -05:00
liamwhite d45561ace0
Merge pull request #12499 from Kelebek1/time
Rework time services
2024-01-25 14:19:01 -05:00
t895 0fdd6e8934 android: Fix waiting for driver install on startup 2024-01-25 13:04:04 -05:00
t895 35794f4f18 android: Add current driver vendor to FPS overlay 2024-01-25 13:04:03 -05:00
t895 b8be8dff69 android: Add key check 2024-01-25 12:58:19 -05:00
t895 bc317a9807 android: Add option to make MessageDialogFragments non-dismissible
Additionally fixes an issue where its viewmodel could hold onto a stale positive action
2024-01-25 12:53:49 -05:00
t895 97ca160b08 frontend_common: Consistently use references
Was swapping between references and pointers for no reason. Just unify them here since each of these utility functions will need their parameters to be alive.
2024-01-25 12:53:49 -05:00
t895 1a3fc3724a frontend_common: Remove key rederivation and keep key check 2024-01-25 12:53:48 -05:00
t895 7b01454d5f android: Only compare game contents for GameAdapter 2024-01-25 08:04:59 -05:00
Matías Locatti 807f421752 Demote Mesa dozen to the bottom of the device list 2024-01-24 23:36:14 -03:00
Kelebek1 e4915fb7d2 Rework time service to fix time passing offline. 2024-01-24 04:26:55 +00:00
liamwhite a76f6a2775
Merge pull request #12763 from liamwhite/fix-hbl-again
loader: also register fs process for raw exefs partition
2024-01-23 13:31:41 -05:00
liamwhite ba518f6899
Merge pull request #12768 from german77/wrong_conversion
service: properly convert buffers to strings
2024-01-23 13:31:27 -05:00
Narr the Reg ad4622da2c core: hid: Skip duplicated vibrations 2024-01-23 11:33:08 -06:00
Narr the Reg 3b1c2896d9 core: hid: Only set polling mode if needed 2024-01-23 11:11:09 -06:00
Narr the Reg fc5d76e6e2 service: properly convert buffers to strings 2024-01-23 10:24:05 -06:00
Liam 5f9a45ada9 loader: also register fs process for raw exefs partition 2024-01-23 00:01:38 -05:00
Liam a120f8ff4d nvservices: close map handles on session close 2024-01-22 21:18:52 -05:00
Liam 96833cd809 kernel: target invalidate to given process 2024-01-22 21:18:52 -05:00
Liam 550cadbee4 device_memory_manager: fix ScratchBuffer indexing 2024-01-22 14:07:33 -05:00