summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-18Merge pull request #4684 from lioncash/desig4Rodrigo Locatti
fermi_2d: Make use of designated initializers
2020-09-18fermi_2d: Make use of designated initializersLioncash
Same behavior, less repetition. We can also ensure all members of Config are initialized.
2020-09-18Merge pull request #4680 from Morph1984/fix-motion-mappingDavid
configure_input_player: Fixes motion mapping using ConfigureButtonClick
2020-09-18configure_input_player: Fixes motion mapping using ConfigureButtonClickMorph
2020-09-17Merge pull request #4647 from Morph1984/readd-context-menubunnei
configure_input_player: Re-add "Clear" context menu option
2020-09-17Merge pull request #4676 from Morph1984/GetPreviousProgramIndex-implbunnei
am: Stub GetPreviousProgramIndex
2020-09-17am: Stub GetPreviousProgramIndexMorph
- Used in Super Mario 3D All-Stars
2020-09-17configure_input_player: Re-add "Clear" context menu optionMorph
The context menu was removed in Mjölnir Part 1 as part of the input rewrite as we were unaware of it's usage statistics. However, as this was the only way to clear the inputs of individual buttons, this PR will re-add it back in.
2020-09-17Merge pull request #4670 from lioncash/initializerRodrigo Locatti
arm_dynarmic_cp15: Initialize member variables
2020-09-17Merge pull request #4665 from lioncash/sm-kernelRodrigo Locatti
service/sm: Eliminate dependency on the global system instance
2020-09-17Merge pull request #4666 from lioncash/unused-funcRodrigo Locatti
service: Remove unused funcation
2020-09-17Merge pull request #4671 from lioncash/nfp-copyRodrigo Locatti
command_generator/nfp: Eliminate unnecessary copies
2020-09-17Merge pull request #4672 from lioncash/narrowingRodrigo Locatti
decoder/texture: Eliminate narrowing conversion in GetTldCode()
2020-09-17Merge pull request #4673 from lioncash/fallthroughRodrigo Locatti
decode/image: Eliminate switch fallthrough in DecodeImage()
2020-09-17Merge pull request #4594 from german77/MotionHIDbunnei
hid/configuration: Implement motion controls to HID
2020-09-17decode/image: Eliminate switch fallthrough in DecodeImage()Lioncash
Fortunately this didn't result in any issues, given the block that code was falling through to would immediately break.
2020-09-17decoder/texture: Eliminate narrowing conversion in GetTldCode()Lioncash
The assignment was previously truncating a u64 value to a bool.
2020-09-17audio_core/command_generator: Use const references where applicableLioncash
In a lot of cases, we can make use of const references rather than non-const references. While we're in the area we can silence some truncation and sign conversion warnings.
2020-09-17audio_core/command_generator: Avoid an unnecessary copy in ↵Lioncash
GenerateFinalMixCommand()
2020-09-17nfp: Eliminate two unnecessary copiesLioncash
GetAmiiboBuffer() returns by const reference, so we can use a reference instead of taking the returned buffer by value.
2020-09-17arm_dynarmic_cp15: Initialize member variablesLioncash
Ensures that the member variables are always initialized to a deterministic value on creation.
2020-09-17Merge pull request #4668 from lioncash/portbunnei
control_metadata: Resolve typo in Portuguese language name
2020-09-17control_metadata: Resolve typo in Portuguese language nameLioncash
This isn't used anywhere, so this is a trivial fix.
2020-09-17service: Remove unused funcationLioncash
This is now completely unused, so it can be removed.
2020-09-17service/sm: Slightly more efficient string name validationLioncash
We can check the end of the string first for null-termination, rather than the beginning of the string.
2020-09-17service/sm: Eliminate dependency on the global system instanceLioncash
2020-09-16Merge pull request #4653 from ReinUsesLisp/gc-warnsbunnei
gc_adapter: Disable MSVC nonstandard extension warning on libusb.h
2020-09-16Merge pull request #4663 from ReinUsesLisp/wswitchbunnei
video_core: Enforce -Werror=switch
2020-09-16Merge pull request #4662 from lioncash/factoryRodrigo Locatti
bis_factory/romfs_factory: Eliminate dependencies on the global system instance
2020-09-16file_sys/romfs_factory: Eliminate usage of the global system accessorLioncash
2020-09-16file_sys/bis_factory: Eliminate usage of the global system accessorLioncash
2020-09-16loader/nso: Remove unnecessary [[maybe_unused]]Lioncash
2020-09-16Merge pull request #4661 from lioncash/system-loaderRodrigo Locatti
core/loader: Remove dependencies on the global system instance
2020-09-16video_core: Enforce -Werror=switchReinUsesLisp
This forces us to fix all -Wswitch warnings in video_core.
2020-09-16core/loader: Remove dependencies on the global system instanceLioncash
Now all that remains is: 18 instances in file_sys code 14 instances in GDB stub code (this can be tossed wholesale) 4 instances in HLE code 2 instances in settings code.
2020-09-16Merge pull request #4658 from lioncash/copy3Rodrigo Locatti
nca_patch: Reduce stack usage size within SearchBucketEntry()
2020-09-16Merge pull request #4657 from lioncash/cheatparserRodrigo Locatti
cheat_engine: Remove unnecessary system argument to CheatParser's Parse function
2020-09-15nca_patch: Significantly reduce the stack usage size within SearchBucketEntry()Lioncash
Previously this function was using ~16KB of stack (16528 bytes), which was caused by the function arguments being taken by value rather than by reference. We can make this significantly lighter on the stack by taking them by reference.
2020-09-15nca_patch: Make SearchBucketEntry() internally linkedLioncash
This is only used internally and doesn't depend on any class state, so we can make it fully internal.
2020-09-15cheat_engine: Convert ExtractName into a non-template functionLioncash
We don't need to create two separate instantiations of the same code, we can simply make the character template argument a regular function parameter.
2020-09-15cheat_engine: Remove unnecessary system argument to CheatParser's Parse functionLioncash
This isn't used within the function at all in any implementations, so we can remove it entirely.
2020-09-15Merge pull request #4655 from lioncash/internal2Rodrigo Locatti
patch_manager: Minor cleanup
2020-09-14patch_manager: Resolve implicit truncations in FormatTitleVersion()Lioncash
We make it explicit that we're truncating arithmetic here to resolve compiler warnings (even if the sizes weren't u32/u64 arithmetic generally promotes to int :<)
2020-09-14patch_manager: Make use of type aliasesLioncash
We can use these to avoid typing the same type redundantly. This way, if these ever change, only a single location needs to be modified.
2020-09-14patch_manager: Make a few functions internally linkedLioncash
These functions are only used within this translation unit, so we can make them internally linked.
2020-09-14gc_adapter: Disable MSVC nonstandard extension warning on libusb.hReinUsesLisp
Pragma disable zero-sized array nonstandard extension warning on MSVC.
2020-09-14Merge pull request #4652 from lioncash/cryptoRodrigo Locatti
crypto/key_manager: Remove dependency on the global system accessor
2020-09-14crypto/key_manager: Remove dependency on the global system accessorLioncash
We can supply the content provider as an argument instead of hardcoding a global accessor in the implementation.
2020-09-14Merge pull request #4651 from lioncash/kernel-globalRodrigo Locatti
kernel: Remove all dependencies on the global system instance
2020-09-14kernel: Remove all dependencies on the global system instanceLioncash
With this, the kernel finally doesn't depend directly on the global system instance anymore.