bunnei
11413d71ad
hle: service: sm: Improve Initialize implementation.
5 years ago
bunnei
777e7c52ba
hle: kernel: Implement named service ports using service interface factory.
- This allows us to create a new interface each time ConnectToNamedPort is called, removing the assumption that these are static.
5 years ago
bunnei
14e52144e2
hle: kernel: KSession: Improve implementation of CloneCurrentObject.
5 years ago
bunnei
1e211a1b15
hle: service: sm: Increase point buffer size.
5 years ago
Lioncash
6890201733
ldr: Simplify memory copy within LoadNro()
We can use the dedicated memory function for performing copies instead
of reading into a temporary buffer and then immediately writing it back
out to memory.
Eliminates a bit of heap memory churn.
5 years ago
ameerj
16528cb361
nvflinger: Create layers when they are queried but not found
Fixes Shantae softlock on boot.
5 years ago
bunnei
720906d0a5
fixup! hle: kernel: Migrate KSharedMemory to KAutoObject.
5 years ago
bunnei
636dd1917e
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
0cbeafef3e
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
5b894b28d6
common: Rename NON_COPYABLE/NON_MOVABLE with YUZU_ prefix.
5 years ago
bunnei
ad048de3d6
hle: kernel: Rename Process to KProcess.
5 years ago
bunnei
796dddf78f
hle: kernel: Remove deprecated Object class.
5 years ago
bunnei
d6844cf75f
hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.
5 years ago
bunnei
2bc45b4a13
hle: kernel: Migrate KServerPort to KAutoObject.
5 years ago
bunnei
9f1abd8188
hle: kernel: Migrate KClientPort to KAutoObject.
5 years ago
bunnei
bf274faa22
hle: kernel: Migrate KTransferMemory to KAutoObject.
5 years ago
bunnei
83b96b7264
hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
5 years ago
bunnei
617803fb5d
hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.
5 years ago
bunnei
715978756e
hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps.
5 years ago
bunnei
9f82c577d0
hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
949231d69c
hle: kernel: Migrate KEvent to KAutoObject.
5 years ago
bunnei
11f9080d2e
hle: kernel: Migrate KSharedMemory to KAutoObject.
5 years ago
bunnei
7a6bfbde24
hle: kernel: Migrate KProcess to KAutoObject.
5 years ago
bunnei
8b224f05c9
hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.
5 years ago
bunnei
07939c59a6
hle: kernel: Refactor out various KThread std::shared_ptr usage.
5 years ago
bunnei
145567ab66
Update src/core/hle/service/nvdrv/interface.cpp
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
5 years ago
german77
0ea00daa81
hid: Improve hardware accuracy of gestures
5 years ago
Lioncash
11518e5df6
service: Remove unused class variables
Prevents some warnings from occurring.
5 years ago
Lioncash
15daa2cecd
service: Resolve cases of member field shadowing
Now all that remains is for kernel code to be 'shadow-free' and then
-Wshadow can be turned into an error.
5 years ago
Chloe Marcec
da763391dc
nvdrv: /dev/nvhost-prof-gpu for production
While we're at it, we can fix the is_initialized error code.
This fixes the crashes on Shante
5 years ago
german77
86f0502456
hid: Fix touch not initializing properly if disabled
5 years ago
Morph
eb59a33d4e
service: filesystem: Return proper error codes for CreateFile
This improves the accuracy of CreateFile by returning the correct error codes on certain conditions (parent directory does not exist, path already exists).
This fixes saving and the loading of existing saves in New Pokemon Snap
5 years ago
german77
e367b3a557
Disable touch if setting is not enabled
5 years ago
german77
b91b81a2a3
address comments
5 years ago
Lioncash
b25f44f4d7
service: Eliminate cases of member shadowing
Resolves a few localized instances of member variable shadowing. Brings
us a little closer to turning shadowing warnings into errors.
5 years ago
ameerj
de494b30d4
nvhost_vic: Fix device closure
Implements the OnClose method of the nvhost_vic device, and removes the remnants of an older implementation.
Also cleans up some of the surrounding code.
5 years ago
german77
9ceb9df088
glue: Add ectx:aw placeholder
5 years ago
german77
c8845b4fdf
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
5 years ago
Morph
7835a7370f
ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
- Used by Pixel Game Maker Series Werewolf Princess Kaguya
5 years ago
Lioncash
5bc631a7c5
acc/lbl: Remove unused variables
5 years ago
Lioncash
61f25f6eff
lm: Make use of insert_or_assign() in Log()
Avoids unnecessary default construction of an entry in cases where no
entry exists before overwriting the created entry.
5 years ago
Lioncash
0b535a371f
lm: Prevent redundant map lookups in Log()
We can perform the lookup and then do the contains check by checking the
end iterator. The benefit of this is that if we *do* find an entry, then
we aren't hashing into the map again to find it.
We can also get rid of an unused std::vector temporary while we're at
it.
5 years ago
Lioncash
d9917dd09c
lm: Resolve -Wextra-semi warning
Resolves a trivial warning with clang.
5 years ago
Morph
9c8242ed3f
service: hid: Get transfer memory for InitializeSevenSixAxisSensor
5 years ago
Morph
91aadc6484
general: Write buffers before pushing raw arguments
For consistency with the rest of the service implementations
5 years ago
Lioncash
4874031e26
arp: Use type alias for issue function
Reduces some verbosity and centralizes the function details in one spot.
5 years ago
Lioncash
712a4960a5
arp: Prevent uninitialized read of launch member variable
If anything happened to call arp functions in the wrong order and called
IRegistrar's Issue function before SetApplicationLaunchProperty, we'd
read from an uninitialized ApplicationLaunchProperty instance.
Instead, we can always initialize it so if this does happen, then the
outcome of doing such a thing is at least consistently reproducible.
5 years ago
Lioncash
6a68568356
npad: Remove duplicated class member variable
ControllerBase already has a System reference that can be accessed from
this class, so we can get rid of this to make the class layout a little
more straightforward.
5 years ago
Morph
bebb8afcbf
time: Write buffer before pushing RESULT_SUCCESS in GetClockSnapshot
5 years ago
Morph
b8a414cea0
time: Fix GetClockSnapshotFromSystemClockContext
This removes an incorrect alignment usage and corrects the positions of the popped parameters.
- Fixes Super Kirby Clash crashing on boot
5 years ago