Age | Commit message (Collapse) | Author |
|
|
|
nvdrv: /dev/nvhost-prof-gpu for production
|
|
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
|
|
|
|
Prevents some warnings from occurring.
|
|
Now all that remains is for kernel code to be 'shadow-free' and then
-Wshadow can be turned into an error.
|
|
core: Resolve misc straggler cases of variable shadowing
|
|
Resolves shadowing warnings that aren't in a particularly large
subsection of core. Brings us closer to turning -Wshadow into an error.
All that remains now is for cases in the kernel (left untouched for now
since a big change by bunnei is pending), and a few left over in the
service code (will be tackled next).
|
|
While we're at it, we can fix the is_initialized error code.
This fixes the crashes on Shante
|
|
|
|
file_sys: Resolve cases of variable shadowing
|
|
service: filesystem: Return proper error codes for CreateFile
|
|
Brings us closer to enabling -Wshadow as an error in the core code.
|
|
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
|
|
|
|
applets/web: Fix a use-after-free when passing in the URL string
|
|
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
|
|
The URL string was being deleted before being used, leading to a use-after-free occurring when it is used afterwards.
Fix this by taking the string by const ref to extend its lifetime, ensuring it doesn't get deleted before use.
|
|
Eliminates variable shadowing cases across all the loaders to bring us
closer to enabling variable shadowing as an error in core.
|
|
|
|
Resolves a few localized instances of member variable shadowing. Brings
us a little closer to turning shadowing warnings into errors.
|
|
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.
|
|
ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
|
|
glue: Add ectx:aw service placeholder
|
|
|
|
program_metadata: Set a default resource size when a NPDM is not present
|
|
program_metadata: Explicitly specify copy/move operators/functions
|
|
|
|
SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
- Used by Pixel Game Maker Series Werewolf Princess Kaguya
|
|
lm: Resolve -Wextra-semi warning
|
|
acc/lbl: Remove unused variables
|
|
aes_util: Make use of std::span
|
|
Sets a default size of 0x1FE00000 bytes (510 MiB) for the system_resource_size when a NPDM is not present.
|
|
emu_window: unsigned -> u32
|
|
This is only a 2-tuple, so it can be converted over to the std::pair
class.
|
|
This is more concise and consistent with the rest of the codebase.
|
|
Allows us to simplify the interface quite a bit as it will handle
contiguous sequences for us.
|
|
|
|
Avoids unnecessary default construction of an entry in cases where no
entry exists before overwriting the created entry.
|
|
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.
|
|
Resolves a trivial warning with clang.
|
|
The generation of the copy assignment operators are deprecated on being
generated when a user-provided destructor is present.
We can explicitly specify that we desire this behavior to keep the class
forward compatible with future standards.
|
|
|
|
time: Fix GetClockSnapshotFromSystemClockContext
|
|
general: Write buffers before pushing raw arguments
|
|
npad: Remove duplicated class member variable
|
|
For consistency with the rest of the service implementations
|
|
Reduces some verbosity and centralizes the function details in one spot.
|
|
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.
|
|
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.
|