summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-05-05hle: kernel: Add initial impl. of KAutoObject.bunnei
2021-05-05Merge pull request #6279 from ogniK5377/nvhost-profbunnei
nvdrv: /dev/nvhost-prof-gpu for production
2021-05-05Update src/core/hle/service/nvdrv/interface.cppbunnei
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-05-05hid: Improve hardware accuracy of gesturesgerman77
2021-05-05service: Remove unused class variablesLioncash
Prevents some warnings from occurring.
2021-05-04service: Resolve cases of member field shadowingLioncash
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error.
2021-05-03Merge pull request #6278 from lioncash/misc-shadowbunnei
core: Resolve misc straggler cases of variable shadowing
2021-05-03core: Resolve misc cases of variable shadowingLioncash
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).
2021-05-03nvdrv: /dev/nvhost-prof-gpu for productionChloe Marcec
While we're at it, we can fix the is_initialized error code. This fixes the crashes on Shante
2021-05-02hid: Fix touch not initializing properly if disabledgerman77
2021-05-02Merge pull request #6269 from lioncash/file-shadowbunnei
file_sys: Resolve cases of variable shadowing
2021-05-02Merge pull request #6265 from Morph1984/snap-save-fixbunnei
service: filesystem: Return proper error codes for CreateFile
2021-05-02file_sys: Resolve cases of variable shadowingLioncash
Brings us closer to enabling -Wshadow as an error in the core code.
2021-05-01service: filesystem: Return proper error codes for CreateFileMorph
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
2021-04-30Disable touch if setting is not enabledgerman77
2021-04-30Merge pull request #6257 from Morph1984/fix-use-after-free-webappletbunnei
applets/web: Fix a use-after-free when passing in the URL string
2021-04-29Merge pull request #6226 from german77/sevensixbunnei
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
2021-04-28applets/web: Fix a use-after-free when passing in the URL stringMorph
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.
2021-04-27loader: Resolve instances of variable shadowingLioncash
Eliminates variable shadowing cases across all the loaders to bring us closer to enabling variable shadowing as an error in core.
2021-04-26address commentsgerman77
2021-04-26service: Eliminate cases of member shadowingLioncash
Resolves a few localized instances of member variable shadowing. Brings us a little closer to turning shadowing warnings into errors.
2021-04-24nvhost_vic: Fix device closureameerj
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.
2021-04-24Merge pull request #6234 from Morph1984/stub-amMat M
ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
2021-04-24Merge pull request #6235 from german77/ectx_awMat M
glue: Add ectx:aw service placeholder
2021-04-24glue: Add ectx:aw placeholdergerman77
2021-04-24Merge pull request #6230 from Morph1984/default-resource-sizebunnei
program_metadata: Set a default resource size when a NPDM is not present
2021-04-23Merge pull request #6227 from lioncash/metabunnei
program_metadata: Explicitly specify copy/move operators/functions
2021-04-23hid: Implement SevenSixAxis and ConsoleSixAxisSensorgerman77
2021-04-23ICommonStateGetter: Stub ↵Morph
SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled - Used by Pixel Game Maker Series Werewolf Princess Kaguya
2021-04-23Merge pull request #6228 from lioncash/semibunnei
lm: Resolve -Wextra-semi warning
2021-04-23Merge pull request #6229 from lioncash/unused-varbunnei
acc/lbl: Remove unused variables
2021-04-23Merge pull request #6231 from lioncash/aesbunnei
aes_util: Make use of std::span
2021-04-23program_metadata: Set a default resource size when a NPDM is not presentMorph
Sets a default size of 0x1FE00000 bytes (510 MiB) for the system_resource_size when a NPDM is not present.
2021-04-23Merge pull request #6232 from lioncash/alias2bunnei
emu_window: unsigned -> u32
2021-04-23emu_window: Return pair from ClipToTouchScreen() instead of tupleLioncash
This is only a 2-tuple, so it can be converted over to the std::pair class.
2021-04-23emu_window: unsigned -> u32Lioncash
This is more concise and consistent with the rest of the codebase.
2021-04-23aes_util: Make use of std::spanLioncash
Allows us to simplify the interface quite a bit as it will handle contiguous sequences for us.
2021-04-23acc/lbl: Remove unused variablesLioncash
2021-04-23lm: Make use of insert_or_assign() in Log()Lioncash
Avoids unnecessary default construction of an entry in cases where no entry exists before overwriting the created entry.
2021-04-23lm: Prevent redundant map lookups in Log()Lioncash
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.
2021-04-23lm: Resolve -Wextra-semi warningLioncash
Resolves a trivial warning with clang.
2021-04-23program_metadata: Explicitly specify copy/move functionsLioncash
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.
2021-04-22service: hid: Get transfer memory for InitializeSevenSixAxisSensorMorph
2021-04-21Merge pull request #6214 from Morph1984/time-fix-kirby-clashbunnei
time: Fix GetClockSnapshotFromSystemClockContext
2021-04-19Merge pull request #6217 from Morph1984/consistent-writebuffersbunnei
general: Write buffers before pushing raw arguments
2021-04-19Merge pull request #6215 from lioncash/duplicatebunnei
npad: Remove duplicated class member variable
2021-04-19general: Write buffers before pushing raw argumentsMorph
For consistency with the rest of the service implementations
2021-04-19arp: Use type alias for issue functionLioncash
Reduces some verbosity and centralizes the function details in one spot.
2021-04-19arp: Prevent uninitialized read of launch member variableLioncash
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.
2021-04-19npad: Remove duplicated class member variableLioncash
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.