summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2020-09-24Merge pull request #4678 from Morph1984/LoadOpenContext-partial-implbunnei
acc: Partially implement LoadOpenContext
2020-09-23Use different timing for motiongerman
2020-09-23memory: Resolve a -Wdocumentation warningLioncash
memory doesn't exist as a parameter any more.
2020-09-22General: Make use of std::nullopt where applicableLioncash
Allows some implementations to avoid completely zeroing out the internal buffer of the optional, and instead only set the validity byte within the structure. This also makes it consistent how we return empty optionals.
2020-09-22ips_layer: Eliminate a redundant copy in Parse()Lioncash
Prevents unnecessary copying of the line being parsed.
2020-09-21Merge pull request #4675 from Morph1984/fix-boot-multicontentbunnei
submission_package: Account for multi-content NSPs
2020-09-21acc: Stub LoadOpenContextMorph
This is used in multiple games such as: - Clubhouse Games: 51 Worldwide Classics - Grandia HD Collection - XCOM 2 Collection - Baldur's Gate 1/2 - Dr Kawashima's Brain Training - Super Mario 3D All-Stars
2020-09-20Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-implbunnei
hid: Implement Get/SetNpadHandheldActivationMode
2020-09-19Merge pull request #4643 from FearlessTobi/decrease-pad-update-intervalbunnei
Test: Decrease pad_update_ns
2020-09-18hid: Implement Get/SetNpadHandheldActivationModeMorph
- Used in Clubhouse Games: 51 Worldwide Classics
2020-09-17am: Stub GetPreviousProgramIndexMorph
- Used in Super Mario 3D All-Stars
2020-09-17submission_package: Account for multi-content NSPsMorph
Previously we assumed a submission package can only contain one Program NCA with a single TitleID. However, Super Mario 3D All-Stars contains four Program NCAs, each with their unique TitleIDs. This accounts for the existence of multi-content games such as this one. - Fixes booting Super Mario 3D All-Stars from the games list.
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 #4594 from german77/MotionHIDbunnei
hid/configuration: Implement motion controls to HID
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-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-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-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-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-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-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-14kernel: Remove all dependencies on the global system instanceLioncash
With this, the kernel finally doesn't depend directly on the global system instance anymore.
2020-09-14Merge pull request #4636 from lioncash/kernel-hlebunnei
service: Remove two usages of the global system accessor
2020-09-11Merge pull request #4323 from ReinUsesLisp/no-spinbunnei
kernel/scheduler: Use std::mutex instead of spin lock
2020-09-11Merge pull request #4634 from lioncash/blockingbunnei
bsd: Resolve a few warnings
2020-09-11Merge pull request #4310 from ogniK5377/apollo-1-prodbunnei
audio_core: Apollo Part 1, AudioRenderer refactor
2020-09-10Merge pull request #4597 from Morph1984/mjolnir-p2bunnei
Project Mjölnir: Part 2 - Controller Applet
2020-09-10Test: Decrease pad_update_nsFearlessTobi
There have been reports of quite heavy input lag in the past. Compared to Citra for example, our pad_update_ns value is very high. So let's decrease it and see if it helps with this problem.
2020-09-10Merge pull request #4633 from ReinUsesLisp/gpu-initRodrigo Locatti
video_core: Remove all Core::System references in renderer
2020-09-07service: Remove two usages of the global system accessorLioncash
Removes more instances of reliance on global state.
2020-09-07bsd: Resolve unused value within SendToImplLioncash
Previously the address provided to SendToImpl would never be propagated to SendTo(). This fixes that.
2020-09-07bsd: Resolve sign comparison warningsLioncash
2020-09-07sockets_translate: Make use of designated initializersLioncash
Same behavior, less typing.
2020-09-07blocking_worker: Make use of templated lambdaLioncash
We can simplify this a little by explicitly specifying the typename for the lambda function.
2020-09-07blocking_worker: Resolve -Wdocumentation warningLioncash