Commit Graph

23494 Commits

Author SHA1 Message Date
liamwhite
22492b68b7
Merge pull request #12869 from FernandoS27/smmu-fixes
SMMU: A set of different fixes.
2024-01-31 11:22:29 -05:00
liamwhite
a12a26e19b
Merge pull request #12864 from Kelebek1/small_time_fixes
Small time fixes
2024-01-31 11:22:16 -05:00
liamwhite
2a2a1d98b3
Merge pull request #12868 from t895/engine-per-game
settings: Allow audio sink, input, and output to be set per game
2024-01-31 11:22:04 -05:00
liamwhite
6e92a7a149
aoc: fix DLC listing (#12867) 2024-01-31 17:21:34 +01:00
Fernando Sahmkow
d57165df45 Device Memory Manager: ensure raster protection only within mapped device addresses. 2024-01-31 16:38:51 +01:00
Fernando Sahmkow
738e9a79a0 DeviceMemory: Make counter types configurable 2024-01-31 16:38:51 +01:00
Fernando Sahmkow
aaab11e36f NVDRV: Join the heaper optimization blocks 2024-01-31 16:38:51 +01:00
Liam
8f848f43e9 smmu: use new range mutex construction for protecting counters 2024-01-31 16:38:51 +01:00
Fernando Sahmkow
a7c1306e2d Texture Cache: make sparse texture table per channel 2024-01-31 16:38:51 +01:00
t895
e8be665f11 settings: Allow audio sink, input, and output to be set per game 2024-01-31 09:31:19 -05:00
Kelebek1
9ed82a280e Remove a few hacks for clock setups, which seem to no longer be needed, but fix network clock to local clock on every boot. Also fix some logging strings. 2024-01-31 01:41:59 +00:00
Liam
817d916233 am: push storage from error applet with non-zero size 2024-01-30 20:13:48 -05:00
liamwhite
ffe3984353
Merge pull request #12860 from liamwhite/serialization2
cmif_serialization: fix LargeData types
2024-01-30 14:29:41 -05:00
liamwhite
ec734cb06c
Merge pull request #12859 from german77/led
service: hid: Implement GetPlayerLedPattern accurately
2024-01-30 14:29:33 -05:00
Liam
8292ba7ad6 cmif_serialization: fix LargeData types 2024-01-30 12:26:32 -05:00
liamwhite
2e65616761
Merge pull request #12856 from liamwhite/serialization
cmif_serialization: fix out layout calculation
2024-01-30 11:59:00 -05:00
Narr the Reg
a0f7f2b309 service: hid: Implement GetPlayerLedPattern accurately 2024-01-30 10:57:03 -06:00
Hugo Locurcio
442aad9b27
Persist filters in multiplayer public lobby list
After connecting to a room, the chosen filter text, "Games I Own",
"Hide Empty Rooms" and "Hide Full Rooms" values are persisted
to configuration so they are preserved across restarts.

This makes it easier to rejoin a room if you regularly play the same
game, or after a crash.
2024-01-30 17:40:29 +01:00
Hugo Locurcio
8e0f97ac96
Color player counts in the multiplayer public lobby list
- Full lobbies have their player count displayed in red.
- Lobbies with one slot left have their player count displayed in orange.
- Empty lobbies have their player count grayed out.
2024-01-30 17:38:21 +01:00
Liam
5510b31972 internal_network: only poll for accept on blocking sockets 2024-01-30 10:29:05 -05:00
LotP1
ecea5ef757
Update sockets.h
forgot to realign the enum
2024-01-30 12:24:47 +01:00
LotP1
a1ce45b0b1
Update src/core/hle/service/sockets/sockets.h
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2024-01-30 11:01:04 +01:00
Liam
9ba9780a96 cmif_serialization: fix out layout calculation 2024-01-30 02:22:45 -05:00
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
Hugo Locurcio
345d691328
Add hotkeys for multiplayer actions
Default shortcuts were chosen as to be intuitive (use the first letter
of the action, or the second word's first letter) and work on all
types of keyboards. The hotkeys can be used while playing a game too,
as they are application-wide.
2024-01-30 01:32:14 +01: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